diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java index d6bd422c24..2ee431becc 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java @@ -980,7 +980,9 @@ public final GetDatabaseDdlResponse getDatabaseDdl(GetDatabaseDdlRequest request * *
{@code
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
-   *   ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+   *   ResourceName resource =
+   *       CryptoKeyVersionName.of(
+   *           "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = databaseAdminClient.setIamPolicy(resource, policy);
    * }
@@ -1015,7 +1017,10 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    *
    * 
{@code
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
-   *   String resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString();
+   *   String resource =
+   *       CryptoKeyVersionName.of(
+   *               "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]")
+   *           .toString();
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = databaseAdminClient.setIamPolicy(resource, policy);
    * }
@@ -1049,7 +1054,14 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
+   *           .setResource(
+   *               CryptoKeyVersionName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[KEY_RING]",
+   *                       "[CRYPTO_KEY]",
+   *                       "[CRYPTO_KEY_VERSION]")
+   *                   .toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   Policy response = databaseAdminClient.setIamPolicy(request);
@@ -1078,7 +1090,14 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
+   *           .setResource(
+   *               CryptoKeyVersionName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[KEY_RING]",
+   *                       "[CRYPTO_KEY]",
+   *                       "[CRYPTO_KEY_VERSION]")
+   *                   .toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   ApiFuture future = databaseAdminClient.setIamPolicyCallable().futureCall(request);
@@ -1105,7 +1124,9 @@ public final UnaryCallable setIamPolicyCallable() {
    *
    * 
{@code
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
-   *   ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+   *   ResourceName resource =
+   *       CryptoKeyVersionName.of(
+   *           "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
    *   Policy response = databaseAdminClient.getIamPolicy(resource);
    * }
    * }
@@ -1136,7 +1157,10 @@ public final Policy getIamPolicy(ResourceName resource) { * *
{@code
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
-   *   String resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString();
+   *   String resource =
+   *       CryptoKeyVersionName.of(
+   *               "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]")
+   *           .toString();
    *   Policy response = databaseAdminClient.getIamPolicy(resource);
    * }
    * }
@@ -1166,7 +1190,14 @@ public final Policy getIamPolicy(String resource) { * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + * .setResource( + * CryptoKeyVersionName.of( + * "[PROJECT]", + * "[LOCATION]", + * "[KEY_RING]", + * "[CRYPTO_KEY]", + * "[CRYPTO_KEY_VERSION]") + * .toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * Policy response = databaseAdminClient.getIamPolicy(request); @@ -1196,7 +1227,14 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + * .setResource( + * CryptoKeyVersionName.of( + * "[PROJECT]", + * "[LOCATION]", + * "[KEY_RING]", + * "[CRYPTO_KEY]", + * "[CRYPTO_KEY_VERSION]") + * .toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * ApiFuture future = databaseAdminClient.getIamPolicyCallable().futureCall(request); @@ -1223,7 +1261,9 @@ public final UnaryCallable getIamPolicyCallable() { * *
{@code
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
-   *   ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+   *   ResourceName resource =
+   *       CryptoKeyVersionName.of(
+   *           "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       databaseAdminClient.testIamPermissions(resource, permissions);
@@ -1261,7 +1301,10 @@ public final TestIamPermissionsResponse testIamPermissions(
    *
    * 
{@code
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
-   *   String resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString();
+   *   String resource =
+   *       CryptoKeyVersionName.of(
+   *               "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]")
+   *           .toString();
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       databaseAdminClient.testIamPermissions(resource, permissions);
@@ -1301,7 +1344,14 @@ public final TestIamPermissionsResponse testIamPermissions(
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
+   *           .setResource(
+   *               CryptoKeyVersionName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[KEY_RING]",
+   *                       "[CRYPTO_KEY]",
+   *                       "[CRYPTO_KEY_VERSION]")
+   *                   .toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   TestIamPermissionsResponse response = databaseAdminClient.testIamPermissions(request);
@@ -1331,7 +1381,14 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
+   *           .setResource(
+   *               CryptoKeyVersionName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[KEY_RING]",
+   *                       "[CRYPTO_KEY]",
+   *                       "[CRYPTO_KEY_VERSION]")
+   *                   .toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   ApiFuture future =
diff --git a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java
index 083ab701b4..6def238529 100644
--- a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java
+++ b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java
@@ -48,6 +48,7 @@
 import com.google.spanner.admin.database.v1.BackupName;
 import com.google.spanner.admin.database.v1.CreateBackupRequest;
 import com.google.spanner.admin.database.v1.CreateDatabaseRequest;
+import com.google.spanner.admin.database.v1.CryptoKeyVersionName;
 import com.google.spanner.admin.database.v1.Database;
 import com.google.spanner.admin.database.v1.DatabaseName;
 import com.google.spanner.admin.database.v1.DeleteBackupRequest;
@@ -650,7 +651,9 @@ public void setIamPolicyTest() throws Exception {
             .build();
     mockDatabaseAdmin.addResponse(expectedResponse);
 
-    ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+    ResourceName resource =
+        CryptoKeyVersionName.of(
+            "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
     Policy policy = Policy.newBuilder().build();
 
     Policy actualResponse = client.setIamPolicy(resource, policy);
@@ -674,7 +677,9 @@ public void setIamPolicyExceptionTest() throws Exception {
     mockDatabaseAdmin.addException(exception);
 
     try {
-      ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+      ResourceName resource =
+          CryptoKeyVersionName.of(
+              "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
       Policy policy = Policy.newBuilder().build();
       client.setIamPolicy(resource, policy);
       Assert.fail("No exception raised");
@@ -736,7 +741,9 @@ public void getIamPolicyTest() throws Exception {
             .build();
     mockDatabaseAdmin.addResponse(expectedResponse);
 
-    ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+    ResourceName resource =
+        CryptoKeyVersionName.of(
+            "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
 
     Policy actualResponse = client.getIamPolicy(resource);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -758,7 +765,9 @@ public void getIamPolicyExceptionTest() throws Exception {
     mockDatabaseAdmin.addException(exception);
 
     try {
-      ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+      ResourceName resource =
+          CryptoKeyVersionName.of(
+              "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
       client.getIamPolicy(resource);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
@@ -812,7 +821,9 @@ public void testIamPermissionsTest() throws Exception {
         TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build();
     mockDatabaseAdmin.addResponse(expectedResponse);
 
-    ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+    ResourceName resource =
+        CryptoKeyVersionName.of(
+            "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
     List permissions = new ArrayList<>();
 
     TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
@@ -836,7 +847,9 @@ public void testIamPermissionsExceptionTest() throws Exception {
     mockDatabaseAdmin.addException(exception);
 
     try {
-      ResourceName resource = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
+      ResourceName resource =
+          CryptoKeyVersionName.of(
+              "[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]", "[CRYPTO_KEY_VERSION]");
       List permissions = new ArrayList<>();
       client.testIamPermissions(resource, permissions);
       Assert.fail("No exception raised");
diff --git a/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java b/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java
index 039431c95b..934f853d9e 100644
--- a/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java
+++ b/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java
@@ -882,8 +882,8 @@ public void listDatabases(
      * have a name of the format `<database_name>/operations/<operation_id>` and
      * can be used to track preparation of the database. The
      * [metadata][google.longrunning.Operation.metadata] field type is
-     * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].
-     * The [response][google.longrunning.Operation.response] field type is
+     * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
+     * [response][google.longrunning.Operation.response] field type is
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ @@ -919,8 +919,7 @@ public void getDatabase( * the format `<database_name>/operations/<operation_id>` and can be used to * track execution of the schema change(s). The * [metadata][google.longrunning.Operation.metadata] field type is - * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - * The operation has no response. + * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response. *
*/ public void updateDatabaseDdl( @@ -1035,12 +1034,12 @@ public void testIamPermissions( * `projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id>` * and can be used to track creation of the backup. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * The [response][google.longrunning.Operation.response] field type is - * [Backup][google.spanner.admin.database.v1.Backup], if successful. - * Cancelling the returned operation will stop the creation and delete the - * backup. There can be only one pending backup creation per database. Backup - * creation of different databases can run concurrently. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the + * creation and delete the backup. + * There can be only one pending backup creation per database. Backup creation + * of different databases can run concurrently. *
*/ public void createBackup( @@ -1054,8 +1053,7 @@ public void createBackup( * * *
-     * Gets metadata on a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public void getBackup( @@ -1068,8 +1066,7 @@ public void getBackup( * * *
-     * Updates a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public void updateBackup( @@ -1083,8 +1080,7 @@ public void updateBackup( * * *
-     * Deletes a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public void deleteBackup( @@ -1352,8 +1348,8 @@ public void listDatabases( * have a name of the format `<database_name>/operations/<operation_id>` and * can be used to track preparation of the database. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. - * The [response][google.longrunning.Operation.response] field type is + * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The + * [response][google.longrunning.Operation.response] field type is * [Database][google.spanner.admin.database.v1.Database], if successful. *
*/ @@ -1393,8 +1389,7 @@ public void getDatabase( * the format `<database_name>/operations/<operation_id>` and can be used to * track execution of the schema change(s). The * [metadata][google.longrunning.Operation.metadata] field type is - * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - * The operation has no response. + * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response. * */ public void updateDatabaseDdl( @@ -1521,12 +1516,12 @@ public void testIamPermissions( * `projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id>` * and can be used to track creation of the backup. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * The [response][google.longrunning.Operation.response] field type is - * [Backup][google.spanner.admin.database.v1.Backup], if successful. - * Cancelling the returned operation will stop the creation and delete the - * backup. There can be only one pending backup creation per database. Backup - * creation of different databases can run concurrently. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the + * creation and delete the backup. + * There can be only one pending backup creation per database. Backup creation + * of different databases can run concurrently. * */ public void createBackup( @@ -1542,8 +1537,7 @@ public void createBackup( * * *
-     * Gets metadata on a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public void getBackup( @@ -1557,8 +1551,7 @@ public void getBackup( * * *
-     * Updates a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public void updateBackup( @@ -1574,8 +1567,7 @@ public void updateBackup( * * *
-     * Deletes a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public void deleteBackup( @@ -1736,8 +1728,8 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases( * have a name of the format `<database_name>/operations/<operation_id>` and * can be used to track preparation of the database. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. - * The [response][google.longrunning.Operation.response] field type is + * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The + * [response][google.longrunning.Operation.response] field type is * [Database][google.spanner.admin.database.v1.Database], if successful. * */ @@ -1770,8 +1762,7 @@ public com.google.spanner.admin.database.v1.Database getDatabase( * the format `<database_name>/operations/<operation_id>` and can be used to * track execution of the schema change(s). The * [metadata][google.longrunning.Operation.metadata] field type is - * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - * The operation has no response. + * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response. * */ public com.google.longrunning.Operation updateDatabaseDdl( @@ -1876,12 +1867,12 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( * `projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id>` * and can be used to track creation of the backup. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * The [response][google.longrunning.Operation.response] field type is - * [Backup][google.spanner.admin.database.v1.Backup], if successful. - * Cancelling the returned operation will stop the creation and delete the - * backup. There can be only one pending backup creation per database. Backup - * creation of different databases can run concurrently. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the + * creation and delete the backup. + * There can be only one pending backup creation per database. Backup creation + * of different databases can run concurrently. * */ public com.google.longrunning.Operation createBackup( @@ -1894,8 +1885,7 @@ public com.google.longrunning.Operation createBackup( * * *
-     * Gets metadata on a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public com.google.spanner.admin.database.v1.Backup getBackup( @@ -1908,8 +1898,7 @@ public com.google.spanner.admin.database.v1.Backup getBackup( * * *
-     * Updates a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public com.google.spanner.admin.database.v1.Backup updateBackup( @@ -1922,8 +1911,7 @@ public com.google.spanner.admin.database.v1.Backup updateBackup( * * *
-     * Deletes a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public com.google.protobuf.Empty deleteBackup( @@ -2066,8 +2054,8 @@ protected DatabaseAdminFutureStub build( * have a name of the format `<database_name>/operations/<operation_id>` and * can be used to track preparation of the database. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. - * The [response][google.longrunning.Operation.response] field type is + * [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The + * [response][google.longrunning.Operation.response] field type is * [Database][google.spanner.admin.database.v1.Database], if successful. * */ @@ -2101,8 +2089,7 @@ protected DatabaseAdminFutureStub build( * the format `<database_name>/operations/<operation_id>` and can be used to * track execution of the schema change(s). The * [metadata][google.longrunning.Operation.metadata] field type is - * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - * The operation has no response. + * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response. * */ public com.google.common.util.concurrent.ListenableFuture @@ -2211,12 +2198,12 @@ protected DatabaseAdminFutureStub build( * `projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id>` * and can be used to track creation of the backup. The * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * The [response][google.longrunning.Operation.response] field type is - * [Backup][google.spanner.admin.database.v1.Backup], if successful. - * Cancelling the returned operation will stop the creation and delete the - * backup. There can be only one pending backup creation per database. Backup - * creation of different databases can run concurrently. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the + * creation and delete the backup. + * There can be only one pending backup creation per database. Backup creation + * of different databases can run concurrently. * */ public com.google.common.util.concurrent.ListenableFuture @@ -2229,8 +2216,7 @@ protected DatabaseAdminFutureStub build( * * *
-     * Gets metadata on a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -2244,8 +2230,7 @@ protected DatabaseAdminFutureStub build( * * *
-     * Updates a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -2259,8 +2244,7 @@ protected DatabaseAdminFutureStub build( * * *
-     * Deletes a pending or completed
-     * [Backup][google.spanner.admin.database.v1.Backup].
+     * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java index 0e94f60542..50f7bcd4c8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java @@ -374,10 +374,10 @@ private State(int value) { * * *
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation. Name of the database from which this backup was created. This
-   * needs to be in the same instance as the backup. Values are of the form
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+   * Name of the database from which this backup was
+   * created. This needs to be in the same instance as the backup.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* @@ -401,10 +401,10 @@ 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 created. This
-   * needs to be in the same instance as the backup. Values are of the form
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+   * Name of the database from which this backup was
+   * created. This needs to be in the same instance as the backup.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* @@ -486,8 +486,7 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() { * * *
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 366 days
    * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -507,8 +506,7 @@ public boolean hasExpireTime() {
    *
    *
    * 
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 366 days
    * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -528,8 +526,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    *
    *
    * 
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 366 days
    * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -550,11 +547,8 @@ public 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.
+   * 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.
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
    * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -586,11 +580,8 @@ 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.
+   * 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.
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
    * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -625,8 +616,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    *
    * 
-   * Output only. The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * 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`.
    * 
@@ -644,8 +634,7 @@ public boolean hasCreateTime() { * * *
-   * Output only. The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * 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`.
    * 
@@ -663,8 +652,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * Output only. The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * 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`.
    * 
@@ -1398,10 +1386,10 @@ public Builder mergeFrom( * * *
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation. Name of the database from which this backup was created. This
-     * needs to be in the same instance as the backup. Values are of the form
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+     * Name of the database from which this backup was
+     * created. This needs to be in the same instance as the backup.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* @@ -1424,10 +1412,10 @@ 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 created. This
-     * needs to be in the same instance as the backup. Values are of the form
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+     * Name of the database from which this backup was
+     * created. This needs to be in the same instance as the backup.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* @@ -1450,10 +1438,10 @@ 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 created. This
-     * needs to be in the same instance as the backup. Values are of the form
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+     * Name of the database from which this backup was
+     * created. This needs to be in the same instance as the backup.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* @@ -1475,10 +1463,10 @@ public Builder setDatabase(java.lang.String value) { * * *
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation. Name of the database from which this backup was created. This
-     * needs to be in the same instance as the backup. Values are of the form
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+     * Name of the database from which this backup was
+     * created. This needs to be in the same instance as the backup.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* @@ -1496,10 +1484,10 @@ public Builder clearDatabase() { * * *
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation. Name of the database from which this backup was created. This
-     * needs to be in the same instance as the backup. Values are of the form
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+     * Name of the database from which this backup was
+     * created. This needs to be in the same instance as the backup.
+     * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* @@ -1741,8 +1729,7 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() { * * *
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1761,8 +1748,7 @@ public boolean hasExpireTime() {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1787,8 +1773,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1815,8 +1800,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1840,8 +1824,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1870,8 +1853,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1896,8 +1878,7 @@ public Builder clearExpireTime() {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1916,8 +1897,7 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1940,8 +1920,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      *
      *
      * 
-     * Required for the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 366 days
      * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -1973,11 +1952,8 @@ public 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.
+     * 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.
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
      * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -2008,11 +1984,8 @@ 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.
+     * 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.
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
      * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -2043,11 +2016,8 @@ 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.
+     * 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.
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
      * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -2077,11 +2047,8 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * 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.
+     * 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.
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
      * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -2107,11 +2074,8 @@ public Builder clearName() {
      *
      *
      * 
-     * 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.
+     * 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.
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
      * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -2149,8 +2113,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2168,8 +2131,7 @@ public boolean hasCreateTime() { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2193,8 +2155,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2220,8 +2181,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2244,8 +2204,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2273,8 +2232,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2298,8 +2256,7 @@ public Builder clearCreateTime() { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2317,8 +2274,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
@@ -2340,8 +2296,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+     * 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`.
      * 
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java index 53a898d5d0..56ce510e17 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java @@ -206,9 +206,9 @@ public com.google.protobuf.ByteString getBackupBytes() { *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request did not specify `version_time`, the `version_time` of the backup is
-   * equivalent to the `create_time`.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+   * `version_time`, the `version_time` of the backup is equivalent to the
+   * `create_time`.
    * 
* * .google.protobuf.Timestamp version_time = 4; @@ -225,9 +225,9 @@ public boolean hasVersionTime() { *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request did not specify `version_time`, the `version_time` of the backup is
-   * equivalent to the `create_time`.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+   * `version_time`, the `version_time` of the backup is equivalent to the
+   * `create_time`.
    * 
* * .google.protobuf.Timestamp version_time = 4; @@ -244,9 +244,9 @@ public com.google.protobuf.Timestamp getVersionTime() { *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request did not specify `version_time`, the `version_time` of the backup is
-   * equivalent to the `create_time`.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+   * `version_time`, the `version_time` of the backup is equivalent to the
+   * `create_time`.
    * 
* * .google.protobuf.Timestamp version_time = 4; @@ -262,9 +262,8 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() { * * *
-   * The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request was received.
+   * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+   * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; @@ -279,9 +278,8 @@ public boolean hasCreateTime() { * * *
-   * The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request was received.
+   * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+   * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; @@ -296,9 +294,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request was received.
+   * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+   * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; @@ -864,9 +861,9 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -882,9 +879,9 @@ public boolean hasVersionTime() { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -906,9 +903,9 @@ public com.google.protobuf.Timestamp getVersionTime() { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -932,9 +929,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -955,9 +952,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -985,9 +982,9 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -1009,9 +1006,9 @@ public Builder clearVersionTime() { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -1027,9 +1024,9 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -1049,9 +1046,9 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() { *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request did not specify `version_time`, the `version_time` of the backup is
-     * equivalent to the `create_time`.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+     * `version_time`, the `version_time` of the backup is equivalent to the
+     * `create_time`.
      * 
* * .google.protobuf.Timestamp version_time = 4; @@ -1083,9 +1080,8 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1099,9 +1095,8 @@ public boolean hasCreateTime() { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1121,9 +1116,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1145,9 +1139,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1166,9 +1159,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1192,9 +1184,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1214,9 +1205,8 @@ public Builder clearCreateTime() { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1230,9 +1220,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; @@ -1250,9 +1239,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The time the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * request was received.
+     * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+     * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java index dad1b7e146..0d3766f1a3 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java @@ -54,9 +54,9 @@ public interface BackupInfoOrBuilder *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request did not specify `version_time`, the `version_time` of the backup is
-   * equivalent to the `create_time`.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+   * `version_time`, the `version_time` of the backup is equivalent to the
+   * `create_time`.
    * 
* * .google.protobuf.Timestamp version_time = 4; @@ -70,9 +70,9 @@ public interface BackupInfoOrBuilder *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request did not specify `version_time`, the `version_time` of the backup is
-   * equivalent to the `create_time`.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+   * `version_time`, the `version_time` of the backup is equivalent to the
+   * `create_time`.
    * 
* * .google.protobuf.Timestamp version_time = 4; @@ -86,9 +86,9 @@ public interface BackupInfoOrBuilder *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request did not specify `version_time`, the `version_time` of the backup is
-   * equivalent to the `create_time`.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
+   * `version_time`, the `version_time` of the backup is equivalent to the
+   * `create_time`.
    * 
* * .google.protobuf.Timestamp version_time = 4; @@ -99,9 +99,8 @@ public interface BackupInfoOrBuilder * * *
-   * The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request was received.
+   * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+   * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; @@ -113,9 +112,8 @@ public interface BackupInfoOrBuilder * * *
-   * The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request was received.
+   * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+   * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; @@ -127,9 +125,8 @@ public interface BackupInfoOrBuilder * * *
-   * The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * request was received.
+   * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
+   * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java index e7a8d1a9fa..e9107cacb6 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java @@ -27,10 +27,10 @@ public interface BackupOrBuilder * * *
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation. Name of the database from which this backup was created. This
-   * needs to be in the same instance as the backup. Values are of the form
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+   * Name of the database from which this backup was
+   * created. This needs to be in the same instance as the backup.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* @@ -43,10 +43,10 @@ public interface BackupOrBuilder * * *
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation. Name of the database from which this backup was created. This
-   * needs to be in the same instance as the backup. Values are of the form
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
+   * Name of the database from which this backup was
+   * created. This needs to be in the same instance as the backup.
+   * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* @@ -104,8 +104,7 @@ public interface BackupOrBuilder * * *
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 366 days
    * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -122,8 +121,7 @@ public interface BackupOrBuilder
    *
    *
    * 
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 366 days
    * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -140,8 +138,7 @@ public interface BackupOrBuilder
    *
    *
    * 
-   * Required for the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 366 days
    * from the time the CreateBackup request is processed. Once the `expire_time`
@@ -157,11 +154,8 @@ public interface BackupOrBuilder
    *
    *
    * 
-   * 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.
+   * 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.
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
    * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -182,11 +176,8 @@ public interface BackupOrBuilder
    *
    *
    * 
-   * 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.
+   * 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.
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
    * `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]`
@@ -208,8 +199,7 @@ public interface BackupOrBuilder
    *
    *
    * 
-   * Output only. The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * 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`.
    * 
@@ -224,8 +214,7 @@ public interface BackupOrBuilder * * *
-   * Output only. The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * 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`.
    * 
@@ -240,8 +229,7 @@ public interface BackupOrBuilder * * *
-   * Output only. The time the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
+   * 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`.
    * 
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 index 224196ec56..19c3efd2e3 100644 --- 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 @@ -91,76 +91,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "g/operations.proto\032 google/protobuf/fiel" + "d_mask.proto\032\037google/protobuf/timestamp." + "proto\032-google/spanner/admin/database/v1/" - + "common.proto\"\363\004\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\"7\n\005State\022\025\n\021STATE_UNSPECIFIE" - + "D\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352AY\n\035spann" - + "er.googleapis.com/Backup\0228projects/{proj" - + "ect}/instances/{instance}/backups/{backu" - + "p}\"\205\002\n\023CreateBackupRequest\0227\n\006parent\030\001 \001" - + "(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Insta" - + "nce\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006backup\030\003 " - + "\001(\0132(.google.spanner.admin.database.v1.B" - + "ackupB\003\340A\002\022^\n\021encryption_config\030\004 \001(\0132>." - + "google.spanner.admin.database.v1.CreateB" - + "ackupEncryptionConfigB\003\340A\001\"\370\001\n\024CreateBac" - + "kupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035spanner." - + "googleapis.com/Backup\0226\n\010database\030\002 \001(\tB" - + "$\372A!\n\037spanner.googleapis.com/Database\022E\n" - + "\010progress\030\003 \001(\01323.google.spanner.admin.d" - + "atabase.v1.OperationProgress\022/\n\013cancel_t" - + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\"\212\001" - + "\n\023UpdateBackupRequest\022=\n\006backup\030\001 \001(\0132(." - + "google.spanner.admin.database.v1.BackupB" - + "\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMaskB\003\340A\002\"G\n\020GetBackupRequest\0223" - + "\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis" - + ".com/Backup\"J\n\023DeleteBackupRequest\0223\n\004na" - + "me\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis.com" - + "/Backup\"\204\001\n\022ListBackupsRequest\0227\n\006parent" - + "\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/I" - + "nstance\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\"i\n\023ListBackupsRes" - + "ponse\0229\n\007backups\030\001 \003(\0132(.google.spanner." - + "admin.database.v1.Backup\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\215\001\n\033ListBackupOperationsReques" - + "t\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googl" - + "eapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\tpa" - + "ge_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"j\n\034Lis" - + "tBackupOperationsResponse\0221\n\noperations\030" - + "\001 \003(\0132\035.google.longrunning.Operation\022\027\n\017" - + "next_page_token\030\002 \001(\t\"\342\001\n\nBackupInfo\0222\n\006" - + "backup\030\001 \001(\tB\"\372A\037\n\035spanner.googleapis.co" - + "m/Backup\0220\n\014version_time\030\004 \001(\0132\032.google." - + "protobuf.Timestamp\022/\n\013create_time\030\002 \001(\0132" - + "\032.google.protobuf.Timestamp\022=\n\017source_da" - + "tabase\030\003 \001(\tB$\372A!\n\037spanner.googleapis.co" - + "m/Database\"\335\002\n\034CreateBackupEncryptionCon" - + "fig\022k\n\017encryption_type\030\001 \001(\0162M.google.sp" - + "anner.admin.database.v1.CreateBackupEncr" - + "yptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms_" - + "key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.googlea" - + "pis.com/CryptoKey\"\216\001\n\016EncryptionType\022\037\n\033" - + "ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\033\n\027USE_DAT" - + "ABASE_ENCRYPTION\020\001\022\035\n\031GOOGLE_DEFAULT_ENC" - + "RYPTION\020\002\022\037\n\033CUSTOMER_MANAGED_ENCRYPTION" - + "\020\003B\377\001\n$com.google.spanner.admin.database" - + ".v1B\013BackupProtoP\001ZHgoogle.golang.org/ge" - + "nproto/googleapis/spanner/admin/database" - + "/v1;database\252\002&Google.Cloud.Spanner.Admi" - + "n.Database.V1\312\002&Google\\Cloud\\Spanner\\Adm" - + "in\\Database\\V1\352\002+Google::Cloud::Spanner:" - + ":Admin::Database::V1b\006proto3" + + "common.proto\032\034google/api/annotations.pro" + + "to\"\363\004\n\006Backup\0226\n\010database\030\002 \001(\tB$\372A!\n\037sp" + + "anner.googleapis.com/Database\0220\n\014version" + + "_time\030\t \001(\0132\032.google.protobuf.Timestamp\022" + + "/\n\013expire_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestamp\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\027\n\n" + + "size_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state\030\006 \001(\0162..g" + + "oogle.spanner.admin.database.v1.Backup.S" + + "tateB\003\340A\003\022F\n\025referencing_databases\030\007 \003(\t" + + "B\'\340A\003\372A!\n\037spanner.googleapis.com/Databas" + + "e\022N\n\017encryption_info\030\010 \001(\01320.google.span" + + "ner.admin.database.v1.EncryptionInfoB\003\340A" + + "\003\"7\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CRE" + + "ATING\020\001\022\t\n\005READY\020\002:\\\352AY\n\035spanner.googlea" + + "pis.com/Backup\0228projects/{project}/insta" + + "nces/{instance}/backups/{backup}\"\205\002\n\023Cre" + + "ateBackupRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!" + + "\n\037spanner.googleapis.com/Instance\022\026\n\tbac" + + "kup_id\030\002 \001(\tB\003\340A\002\022=\n\006backup\030\003 \001(\0132(.goog" + + "le.spanner.admin.database.v1.BackupB\003\340A\002" + + "\022^\n\021encryption_config\030\004 \001(\0132>.google.spa" + + "nner.admin.database.v1.CreateBackupEncry" + + "ptionConfigB\003\340A\001\"\370\001\n\024CreateBackupMetadat" + + "a\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035spanner.googleapis" + + ".com/Backup\0226\n\010database\030\002 \001(\tB$\372A!\n\037span" + + "ner.googleapis.com/Database\022E\n\010progress\030" + + "\003 \001(\01323.google.spanner.admin.database.v1" + + ".OperationProgress\022/\n\013cancel_time\030\004 \001(\0132" + + "\032.google.protobuf.Timestamp\"\212\001\n\023UpdateBa" + + "ckupRequest\022=\n\006backup\030\001 \001(\0132(.google.spa" + + "nner.admin.database.v1.BackupB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"G\n\020GetBackupRequest\0223\n\004name\030\001 \001" + + "(\tB%\340A\002\372A\037\n\035spanner.googleapis.com/Backu" + + "p\"J\n\023DeleteBackupRequest\0223\n\004name\030\001 \001(\tB%" + + "\340A\002\372A\037\n\035spanner.googleapis.com/Backup\"\204\001" + + "\n\022ListBackupsRequest\0227\n\006parent\030\001 \001(\tB\'\340A" + + "\002\372A!\n\037spanner.googleapis.com/Instance\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\"i\n\023ListBackupsResponse\0229\n\007b" + + "ackups\030\001 \003(\0132(.google.spanner.admin.data" + + "base.v1.Backup\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\215\001\n\033ListBackupOperationsRequest\0227\n\006paren" + + "t\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/" + + "Instance\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\"j\n\034ListBackupOpe" + + "rationsResponse\0221\n\noperations\030\001 \003(\0132\035.go" + + "ogle.longrunning.Operation\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\342\001\n\nBackupInfo\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.T" + + "imestamp\022/\n\013create_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022=\n\017source_database\030\003 \001" + + "(\tB$\372A!\n\037spanner.googleapis.com/Database" + + "\"\335\002\n\034CreateBackupEncryptionConfig\022k\n\017enc" + + "ryption_type\030\001 \001(\0162M.google.spanner.admi" + + "n.database.v1.CreateBackupEncryptionConf" + + "ig.EncryptionTypeB\003\340A\002\022?\n\014kms_key_name\030\002" + + " \001(\tB)\340A\001\372A#\n!cloudkms.googleapis.com/Cr" + + "yptoKey\"\216\001\n\016EncryptionType\022\037\n\033ENCRYPTION" + + "_TYPE_UNSPECIFIED\020\000\022\033\n\027USE_DATABASE_ENCR" + + "YPTION\020\001\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\002\022" + + "\037\n\033CUSTOMER_MANAGED_ENCRYPTION\020\003B\377\001\n$com" + + ".google.spanner.admin.database.v1B\013Backu" + + "pProtoP\001ZHgoogle.golang.org/genproto/goo" + + "gleapis/spanner/admin/database/v1;databa" + + "se\252\002&Google.Cloud.Spanner.Admin.Database" + + ".V1\312\002&Google\\Cloud\\Spanner\\Admin\\Databas" + + "e\\V1\352\002+Google::Cloud::Spanner::Admin::Da" + + "tabase::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -172,6 +173,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_spanner_admin_database_v1_Backup_descriptor = getDescriptor().getMessageTypes().get(0); @@ -290,6 +292,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + com.google.api.AnnotationsProto.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 index 9420954126..331423327d 100644 --- 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 @@ -52,35 +52,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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\002B\244\004\n$com.goo" - + "gle.spanner.admin.database.v1B\013CommonPro" - + "toP\001ZHgoogle.golang.org/genproto/googlea" - + "pis/spanner/admin/database/v1;database\252\002" - + "&Google.Cloud.Spanner.Admin.Database.V1\312" - + "\002&Google\\Cloud\\Spanner\\Admin\\Database\\V1" - + "\352\002+Google::Cloud::Spanner::Admin::Databa" - + "se::V1\352Ax\n!cloudkms.googleapis.com/Crypt" - + "oKey\022Sprojects/{project}/locations/{loca" - + "tion}/keyRings/{key_ring}/cryptoKeys/{cr" - + "ypto_key}\352A\246\001\n(cloudkms.googleapis.com/C" - + "ryptoKeyVersion\022zprojects/{project}/loca" - + "tions/{location}/keyRings/{key_ring}/cry" - + "ptoKeys/{crypto_key}/cryptoKeyVersions/{" - + "crypto_key_version}b\006proto3" + + "imestamp.proto\032\027google/rpc/status.proto\032" + + "\034google/api/annotations.proto\"\213\001\n\021Operat" + + "ionProgress\022\030\n\020progress_percent\030\001 \001(\005\022.\n" + + "\nstart_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022,\n\010end_time\030\003 \001(\0132\032.google.protobu" + + "f.Timestamp\"P\n\020EncryptionConfig\022<\n\014kms_k" + + "ey_name\030\002 \001(\tB&\372A#\n!cloudkms.googleapis." + + "com/CryptoKey\"\302\002\n\016EncryptionInfo\022S\n\017encr" + + "yption_type\030\003 \001(\01625.google.spanner.admin" + + ".database.v1.EncryptionInfo.TypeB\003\340A\003\0222\n" + + "\021encryption_status\030\004 \001(\0132\022.google.rpc.St" + + "atusB\003\340A\003\022I\n\017kms_key_version\030\002 \001(\tB0\340A\003\372" + + "A*\n(cloudkms.googleapis.com/CryptoKeyVer" + + "sion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GO" + + "OGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MA" + + "NAGED_ENCRYPTION\020\002B\244\004\n$com.google.spanne" + + "r.admin.database.v1B\013CommonProtoP\001ZHgoog" + + "le.golang.org/genproto/googleapis/spanne" + + "r/admin/database/v1;database\252\002&Google.Cl" + + "oud.Spanner.Admin.Database.V1\312\002&Google\\C" + + "loud\\Spanner\\Admin\\Database\\V1\352\002+Google:" + + ":Cloud::Spanner::Admin::Database::V1\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{key_ring}/cryptoKeys/{crypto_key}\352" + + "A\246\001\n(cloudkms.googleapis.com/CryptoKeyVe" + + "rsion\022zprojects/{project}/locations/{loc" + + "ation}/keyRings/{key_ring}/cryptoKeys/{c" + + "rypto_key}/cryptoKeyVersions/{crypto_key" + + "_version}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -90,6 +91,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor = getDescriptor().getMessageTypes().get(0); @@ -126,6 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.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/CreateBackupEncryptionConfig.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java index 82e61f8125..075a072eae 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java @@ -146,10 +146,9 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { *
      * Use the same encryption configuration as the database. This is the
      * default option when
-     * [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig]
-     * is empty. For example, if the database is using
-     * `Customer_Managed_Encryption`, the backup will be using the same Cloud
-     * KMS key as the database.
+     * [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] is empty.
+     * For example, if the database is using `Customer_Managed_Encryption`, the
+     * backup will be using the same Cloud KMS key as the database.
      * 
* * USE_DATABASE_ENCRYPTION = 1; @@ -195,10 +194,9 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { *
      * Use the same encryption configuration as the database. This is the
      * default option when
-     * [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig]
-     * is empty. For example, if the database is using
-     * `Customer_Managed_Encryption`, the backup will be using the same Cloud
-     * KMS key as the database.
+     * [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] is empty.
+     * For example, if the database is using `Customer_Managed_Encryption`, the
+     * backup will be using the same Cloud KMS key as the database.
      * 
* * USE_DATABASE_ENCRYPTION = 1; @@ -366,8 +364,8 @@ public int getEncryptionTypeValue() { *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* @@ -395,8 +393,8 @@ 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
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* @@ -879,8 +877,8 @@ public Builder clearEncryptionType() { *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -907,8 +905,8 @@ 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
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -935,8 +933,8 @@ 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
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -962,8 +960,8 @@ public Builder setKmsKeyName(java.lang.String value) { *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -985,8 +983,8 @@ public Builder clearKmsKeyName() { *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java index 9fc893c189..ecefb88dc0 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java @@ -59,8 +59,8 @@ public interface CreateBackupEncryptionConfigOrBuilder *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* @@ -77,8 +77,8 @@ public interface CreateBackupEncryptionConfigOrBuilder *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java index e877c70ec4..739e8cdd9b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java @@ -257,8 +257,7 @@ public com.google.protobuf.ByteString getDatabaseBytes() { * *
    * The progress of the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -274,8 +273,7 @@ public boolean hasProgress() { * *
    * The progress of the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -293,8 +291,7 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { * *
    * The progress of the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -998,8 +995,7 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1014,8 +1010,7 @@ public boolean hasProgress() { * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1036,8 +1031,7 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1060,8 +1054,7 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1082,8 +1075,7 @@ public Builder setProgress( * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1110,8 +1102,7 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1132,8 +1123,7 @@ public Builder clearProgress() { * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1148,8 +1138,7 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -1168,8 +1157,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre * *
      * The progress of the
-     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-     * operation.
+     * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java index d8d2b6369b..5ca2529e2f 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java @@ -78,8 +78,7 @@ public interface CreateBackupMetadataOrBuilder * *
    * The progress of the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -92,8 +91,7 @@ public interface CreateBackupMetadataOrBuilder * *
    * The progress of the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; @@ -106,8 +104,7 @@ public interface CreateBackupMetadataOrBuilder * *
    * The progress of the
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
-   * operation.
+   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java index 08ed508c7a..072b77bcc5 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
+ * The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupRequest} @@ -330,11 +329,11 @@ public 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 encryption
-   * configuration as the database by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * = `USE_DATABASE_ENCRYPTION`.
+   * Optional. The encryption configuration used to encrypt the backup. If this field is
+   * not specified, the backup will use the same
+   * encryption configuration as the database by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+   * `USE_DATABASE_ENCRYPTION`.
    * 
* * @@ -351,11 +350,11 @@ public boolean hasEncryptionConfig() { * * *
-   * Optional. The encryption configuration used to encrypt the backup. If this
-   * field is not specified, the backup will use the same encryption
-   * configuration as the database by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * = `USE_DATABASE_ENCRYPTION`.
+   * Optional. The encryption configuration used to encrypt the backup. If this field is
+   * not specified, the backup will use the same
+   * encryption configuration as the database by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+   * `USE_DATABASE_ENCRYPTION`.
    * 
* * @@ -374,11 +373,11 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr * * *
-   * Optional. The encryption configuration used to encrypt the backup. If this
-   * field is not specified, the backup will use the same encryption
-   * configuration as the database by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * = `USE_DATABASE_ENCRYPTION`.
+   * Optional. The encryption configuration used to encrypt the backup. If this field is
+   * not specified, the backup will use the same
+   * encryption configuration as the database by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+   * `USE_DATABASE_ENCRYPTION`.
    * 
* * @@ -592,8 +591,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
+   * The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupRequest} @@ -1253,11 +1251,11 @@ public 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 encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1273,11 +1271,11 @@ public boolean hasEncryptionConfig() { * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1299,11 +1297,11 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1328,11 +1326,11 @@ public Builder setEncryptionConfig( * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1354,11 +1352,11 @@ public Builder setEncryptionConfig( * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1388,11 +1386,11 @@ public Builder mergeEncryptionConfig( * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1414,11 +1412,11 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1435,11 +1433,11 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * @@ -1460,11 +1458,11 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. The encryption configuration used to encrypt the backup. If this
-     * field is not specified, the backup will use the same encryption
-     * configuration as the database by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-     * = `USE_DATABASE_ENCRYPTION`.
+     * Optional. The encryption configuration used to encrypt the backup. If this field is
+     * not specified, the backup will use the same
+     * encryption configuration as the database by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+     * `USE_DATABASE_ENCRYPTION`.
      * 
* * diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java index 4fd3e5d920..533a7441a7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java @@ -136,11 +136,11 @@ public interface CreateBackupRequestOrBuilder * * *
-   * Optional. The encryption configuration used to encrypt the backup. If this
-   * field is not specified, the backup will use the same encryption
-   * configuration as the database by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * = `USE_DATABASE_ENCRYPTION`.
+   * Optional. The encryption configuration used to encrypt the backup. If this field is
+   * not specified, the backup will use the same
+   * encryption configuration as the database by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+   * `USE_DATABASE_ENCRYPTION`.
    * 
* * @@ -154,11 +154,11 @@ public interface CreateBackupRequestOrBuilder * * *
-   * Optional. The encryption configuration used to encrypt the backup. If this
-   * field is not specified, the backup will use the same encryption
-   * configuration as the database by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * = `USE_DATABASE_ENCRYPTION`.
+   * Optional. The encryption configuration used to encrypt the backup. If this field is
+   * not specified, the backup will use the same
+   * encryption configuration as the database by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+   * `USE_DATABASE_ENCRYPTION`.
    * 
* * @@ -172,11 +172,11 @@ public interface CreateBackupRequestOrBuilder * * *
-   * Optional. The encryption configuration used to encrypt the backup. If this
-   * field is not specified, the backup will use the same encryption
-   * configuration as the database by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
-   * = `USE_DATABASE_ENCRYPTION`.
+   * Optional. The encryption configuration used to encrypt the backup. If this field is
+   * not specified, the backup will use the same
+   * encryption configuration as the database by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] =
+   * `USE_DATABASE_ENCRYPTION`.
    * 
* * diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java index f5aa1bca27..bb9f85e7dc 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
+ * The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} @@ -343,8 +342,8 @@ public 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
+   * 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.
    * 
* @@ -362,8 +361,8 @@ public 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
+   * 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.
    * 
* @@ -383,8 +382,8 @@ public 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
+   * 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.
    * 
* @@ -601,8 +600,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
+   * The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} @@ -1250,8 +1248,8 @@ public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* @@ -1268,8 +1266,8 @@ public 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
+     * 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.
      * 
* @@ -1292,8 +1290,8 @@ public 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
+     * 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.
      * 
* @@ -1319,8 +1317,8 @@ public Builder setEncryptionConfig( * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* @@ -1343,8 +1341,8 @@ public Builder setEncryptionConfig( * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* @@ -1374,8 +1372,8 @@ public Builder mergeEncryptionConfig( * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* @@ -1398,8 +1396,8 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* @@ -1417,8 +1415,8 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* @@ -1440,8 +1438,8 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. The encryption configuration for the database. If this field is
-     * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+     * 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.
      * 
* diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java index 4558ac8b82..e1a5b67eb9 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java @@ -154,8 +154,8 @@ public interface CreateDatabaseRequestOrBuilder * * *
-   * Optional. The encryption configuration for the database. If this field is
-   * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+   * 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.
    * 
* @@ -170,8 +170,8 @@ public interface CreateDatabaseRequestOrBuilder * * *
-   * Optional. The encryption configuration for the database. If this field is
-   * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+   * 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.
    * 
* @@ -186,8 +186,8 @@ public interface CreateDatabaseRequestOrBuilder * * *
-   * Optional. The encryption configuration for the database. If this field is
-   * not specified, Cloud Spanner will encrypt/decrypt all data at rest using
+   * 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.
    * 
* diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java index 7d6cc4cfae..4bd89e0856 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java @@ -790,8 +790,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio * 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -817,8 +817,8 @@ 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2815,8 +2815,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption * 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2842,8 +2842,8 @@ 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2869,8 +2869,8 @@ 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2895,8 +2895,8 @@ public Builder setVersionRetentionPeriod(java.lang.String value) { * 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2917,8 +2917,8 @@ public Builder clearVersionRetentionPeriod() { * 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java index eca4f8317f..3451b2e4fe 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java @@ -317,8 +317,8 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr * 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -333,8 +333,8 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr * 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 * database option set using - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - * Defaults to 1 hour, if not set. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + * if not set. *
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java index 9aa1cf40ff..44e63a951a 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
+ * The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DeleteBackupRequest} @@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
+   * The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DeleteBackupRequest} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java index dd74e91942..e834f43e72 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
+ * The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} @@ -329,8 +328,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
+   * The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java index 87c729a88a..8596096606 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java @@ -349,9 +349,9 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionTyp * * *
-   * 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.
+   * 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]; @@ -367,9 +367,9 @@ public 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.
+   * 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]; @@ -387,9 +387,9 @@ public 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.
+   * 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]; @@ -406,8 +406,8 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { * * *
-   * Output only. A Cloud KMS key version that is being used to protect the
-   * database or backup.
+   * Output only. A Cloud KMS key version that is being used to protect the database or
+   * backup.
    * 
* * @@ -432,8 +432,8 @@ public java.lang.String getKmsKeyVersion() { * * *
-   * Output only. A Cloud KMS key version that is being used to protect the
-   * database or backup.
+   * Output only. A Cloud KMS key version that is being used to protect the database or
+   * backup.
    * 
* * @@ -930,9 +930,9 @@ public Builder clearEncryptionType() { * * *
-     * 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.
+     * 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]; @@ -947,9 +947,9 @@ public 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.
+     * 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]; @@ -970,9 +970,9 @@ public 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.
+     * 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]; @@ -995,9 +995,9 @@ public Builder setEncryptionStatus(com.google.rpc.Status value) { * * *
-     * 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.
+     * 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]; @@ -1017,9 +1017,9 @@ public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue * * *
-     * 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.
+     * 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]; @@ -1044,9 +1044,9 @@ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { * * *
-     * 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.
+     * 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]; @@ -1067,9 +1067,9 @@ public Builder clearEncryptionStatus() { * * *
-     * 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.
+     * 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]; @@ -1084,9 +1084,9 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { * * *
-     * 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.
+     * 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]; @@ -1105,9 +1105,9 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { * * *
-     * 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.
+     * 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]; @@ -1133,8 +1133,8 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { * * *
-     * Output only. A Cloud KMS key version that is being used to protect the
-     * database or backup.
+     * Output only. A Cloud KMS key version that is being used to protect the database or
+     * backup.
      * 
* * @@ -1158,8 +1158,8 @@ public java.lang.String getKmsKeyVersion() { * * *
-     * Output only. A Cloud KMS key version that is being used to protect the
-     * database or backup.
+     * Output only. A Cloud KMS key version that is being used to protect the database or
+     * backup.
      * 
* * @@ -1183,8 +1183,8 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { * * *
-     * Output only. A Cloud KMS key version that is being used to protect the
-     * database or backup.
+     * Output only. A Cloud KMS key version that is being used to protect the database or
+     * backup.
      * 
* * @@ -1207,8 +1207,8 @@ public Builder setKmsKeyVersion(java.lang.String value) { * * *
-     * Output only. A Cloud KMS key version that is being used to protect the
-     * database or backup.
+     * Output only. A Cloud KMS key version that is being used to protect the database or
+     * backup.
      * 
* * @@ -1227,8 +1227,8 @@ public Builder clearKmsKeyVersion() { * * *
-     * Output only. A Cloud KMS key version that is being used to protect the
-     * database or backup.
+     * Output only. A Cloud KMS key version that is being used to protect the database or
+     * backup.
      * 
* * diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java index 76b267287c..279ae23ffc 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java @@ -56,9 +56,9 @@ public interface EncryptionInfoOrBuilder * * *
-   * 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.
+   * 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]; @@ -71,9 +71,9 @@ public interface EncryptionInfoOrBuilder * * *
-   * 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.
+   * 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]; @@ -86,9 +86,9 @@ public interface EncryptionInfoOrBuilder * * *
-   * 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.
+   * 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]; @@ -100,8 +100,8 @@ public interface EncryptionInfoOrBuilder * * *
-   * Output only. A Cloud KMS key version that is being used to protect the
-   * database or backup.
+   * Output only. A Cloud KMS key version that is being used to protect the database or
+   * backup.
    * 
* * @@ -115,8 +115,8 @@ public interface EncryptionInfoOrBuilder * * *
-   * Output only. A Cloud KMS key version that is being used to protect the
-   * database or backup.
+   * Output only. A Cloud KMS key version that is being used to protect the database or
+   * backup.
    * 
* * diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java index be64eafeb8..c503740fca 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
+ * The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetBackupRequest} @@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
+   * The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetBackupRequest} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java index cd7a904d1d..f5bc73b7d8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
+ * The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} @@ -333,8 +332,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
+   * The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java index 76372e93e6..de7f8389d1 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java @@ -22,8 +22,7 @@ * * *
- * The response for
- * [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
+ * The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} @@ -355,8 +354,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for
-   * [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
+   * The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java index 690f6b03ec..37a5e3ef97 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
+ * The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} @@ -331,8 +330,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
+   * The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java index 59e5c8768c..a49ee408be 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java @@ -205,9 +205,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -224,8 +222,7 @@ public com.google.protobuf.ByteString getParentBytes() { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -262,9 +259,7 @@ public java.lang.String getFilter() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -281,8 +276,7 @@ public java.lang.String getFilter() { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -332,9 +326,8 @@ public int getPageSize() { *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
-   * from a previous
-   * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; @@ -359,9 +352,8 @@ 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]
-   * from a previous
-   * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; @@ -889,9 +881,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -908,8 +898,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -945,9 +934,7 @@ public java.lang.String getFilter() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -964,8 +951,7 @@ public java.lang.String getFilter() { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -1001,9 +987,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -1020,8 +1004,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -1056,9 +1039,7 @@ public Builder setFilter(java.lang.String value) { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -1075,8 +1056,7 @@ public Builder setFilter(java.lang.String value) { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -1107,9 +1087,7 @@ public Builder clearFilter() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -1126,8 +1104,7 @@ public Builder clearFilter() { * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -1211,9 +1188,8 @@ public Builder clearPageSize() { *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
-     * from a previous
-     * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1237,9 +1213,8 @@ 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]
-     * from a previous
-     * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1263,9 +1238,8 @@ 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]
-     * from a previous
-     * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1288,9 +1262,8 @@ public Builder setPageToken(java.lang.String value) { *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
-     * from a previous
-     * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1309,9 +1282,8 @@ public Builder clearPageToken() { *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
-     * from a previous
-     * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java index 0cb25ca251..6d48d7f5f3 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java @@ -69,9 +69,7 @@ public interface ListBackupOperationsRequestOrBuilder * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -88,8 +86,7 @@ public interface ListBackupOperationsRequestOrBuilder * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -115,9 +112,7 @@ public interface ListBackupOperationsRequestOrBuilder * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - * is + * for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -134,8 +129,7 @@ public interface ListBackupOperationsRequestOrBuilder * `(metadata.name:howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Returns operations where: - * * The operation's metadata type is - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + * * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. * * The backup name contains the string "howl". * * The operation started before 2018-03-28T14:50:00Z. * * The operation resulted in an error. @@ -167,9 +161,8 @@ public interface ListBackupOperationsRequestOrBuilder *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
-   * from a previous
-   * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; @@ -183,9 +176,8 @@ public interface ListBackupOperationsRequestOrBuilder *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
-   * from a previous
-   * [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java index b662c16938..a615824bb2 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java @@ -137,11 +137,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -158,11 +158,11 @@ public java.util.List getOperationsList() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -180,11 +180,11 @@ public java.util.List getOperationsList() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -201,11 +201,11 @@ public int getOperationsCount() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -222,11 +222,11 @@ public com.google.longrunning.Operation getOperations(int index) { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -697,11 +697,11 @@ private void ensureOperationsIsMutable() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -721,11 +721,11 @@ public java.util.List getOperationsList() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -745,11 +745,11 @@ public int getOperationsCount() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -769,11 +769,11 @@ public com.google.longrunning.Operation getOperations(int index) { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -799,11 +799,11 @@ public Builder setOperations(int index, com.google.longrunning.Operation value) * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -827,11 +827,11 @@ public Builder setOperations( * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -857,11 +857,11 @@ public Builder addOperations(com.google.longrunning.Operation value) { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -887,11 +887,11 @@ public Builder addOperations(int index, com.google.longrunning.Operation value) * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -914,11 +914,11 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -942,11 +942,11 @@ public Builder addOperations( * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. *
* * repeated .google.longrunning.Operation operations = 1; @@ -970,11 +970,11 @@ public Builder addAllOperations( * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -997,11 +997,11 @@ public Builder clearOperations() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -1024,11 +1024,11 @@ public Builder removeOperations(int index) { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -1044,11 +1044,11 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -1068,11 +1068,11 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -1093,11 +1093,11 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -1114,11 +1114,11 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() { * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -1135,11 +1135,11 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java index cdead6be79..05c3031f8d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java @@ -31,11 +31,11 @@ public interface ListBackupOperationsResponseOrBuilder * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -49,11 +49,11 @@ public interface ListBackupOperationsResponseOrBuilder * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -67,11 +67,11 @@ public interface ListBackupOperationsResponseOrBuilder * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -85,11 +85,11 @@ public interface ListBackupOperationsResponseOrBuilder * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; @@ -103,11 +103,11 @@ public interface ListBackupOperationsResponseOrBuilder * operations][google.longrunning.Operation]. Each operation's name will be * prefixed by the backup's name and the operation's * [metadata][google.longrunning.Operation.metadata] will be of type - * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - * Operations returned include those that are pending or have - * completed/failed/canceled within the last 7 days. Operations returned are - * ordered by `operation.metadata.value.progress.start_time` in descending - * order starting from the most recently started operation. + * [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + * pending or have completed/failed/canceled within the last 7 days. + * Operations returned are ordered by + * `operation.metadata.value.progress.start_time` in descending order starting + * from the most recently started operation. * * * repeated .google.longrunning.Operation operations = 1; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java index 363ab75667..aaab7fa61e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
+ * The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsRequest} @@ -200,9 +199,7 @@ public com.google.protobuf.ByteString getParentBytes() { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -253,9 +250,7 @@ public java.lang.String getFilter() { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -323,10 +318,9 @@ public int getPageSize() { * *
    * If non-empty, `page_token` should contain a
-   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token]
-   * from a previous
-   * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-   * to the same `parent` and with the same `filter`.
+   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+   * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+   * `filter`.
    * 
* * string page_token = 4; @@ -350,10 +344,9 @@ 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 previous
-   * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-   * to the same `parent` and with the same `filter`.
+   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+   * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+   * `filter`.
    * 
* * string page_token = 4; @@ -564,8 +557,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
+   * The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsRequest} @@ -872,9 +864,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -924,9 +914,7 @@ public java.lang.String getFilter() { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -976,9 +964,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -1027,9 +1013,7 @@ public Builder setFilter(java.lang.String value) { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -1074,9 +1058,7 @@ public Builder clearFilter() { * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -1178,10 +1160,9 @@ public Builder clearPageSize() { * *
      * If non-empty, `page_token` should contain a
-     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token]
-     * from a previous
-     * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-     * to the same `parent` and with the same `filter`.
+     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+     * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+     * `filter`.
      * 
* * string page_token = 4; @@ -1204,10 +1185,9 @@ 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 previous
-     * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-     * to the same `parent` and with the same `filter`.
+     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+     * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+     * `filter`.
      * 
* * string page_token = 4; @@ -1230,10 +1210,9 @@ 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 previous
-     * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-     * to the same `parent` and with the same `filter`.
+     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+     * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+     * `filter`.
      * 
* * string page_token = 4; @@ -1255,10 +1234,9 @@ public Builder setPageToken(java.lang.String value) { * *
      * If non-empty, `page_token` should contain a
-     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token]
-     * from a previous
-     * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-     * to the same `parent` and with the same `filter`.
+     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+     * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+     * `filter`.
      * 
* * string page_token = 4; @@ -1276,10 +1254,9 @@ public Builder clearPageToken() { * *
      * If non-empty, `page_token` should contain a
-     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token]
-     * from a previous
-     * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-     * to the same `parent` and with the same `filter`.
+     * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+     * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+     * `filter`.
      * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java index 7fb2a3dc44..4ea911b53c 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java @@ -64,9 +64,7 @@ public interface ListBackupsRequestOrBuilder * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -106,9 +104,7 @@ public interface ListBackupsRequestOrBuilder * The value must be a string, a number, or a boolean. The comparison operator * must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. * Colon `:` is the contains operator. Filter rules are not case sensitive. - * The following fields in the - * [Backup][google.spanner.admin.database.v1.Backup] are eligible for - * filtering: + * The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: * * `name` * * `database` * * `state` @@ -158,10 +154,9 @@ public interface ListBackupsRequestOrBuilder * *
    * If non-empty, `page_token` should contain a
-   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token]
-   * from a previous
-   * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-   * to the same `parent` and with the same `filter`.
+   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+   * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+   * `filter`.
    * 
* * string page_token = 4; @@ -174,10 +169,9 @@ public interface ListBackupsRequestOrBuilder * *
    * If non-empty, `page_token` should contain a
-   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token]
-   * from a previous
-   * [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse]
-   * to the same `parent` and with the same `filter`.
+   * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
+   * previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same
+   * `filter`.
    * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java index e0e5169d72..8e0b6a12ac 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java @@ -22,8 +22,7 @@ * * *
- * The response for
- * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
+ * The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsResponse} @@ -209,8 +208,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder( * *
    * `next_page_token` can be sent in a subsequent
-   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]
-   * call to fetch more of the matching backups.
+   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+   * of the matching backups.
    * 
* * string next_page_token = 2; @@ -234,8 +233,8 @@ 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 of the matching backups.
+   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+   * of the matching backups.
    * 
* * string next_page_token = 2; @@ -430,8 +429,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for
-   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
+   * The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListBackupsResponse} @@ -1006,8 +1004,8 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int * *
      * `next_page_token` can be sent in a subsequent
-     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]
-     * call to fetch more of the matching backups.
+     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+     * of the matching backups.
      * 
* * string next_page_token = 2; @@ -1030,8 +1028,8 @@ 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 of the matching backups.
+     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+     * of the matching backups.
      * 
* * string next_page_token = 2; @@ -1054,8 +1052,8 @@ 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 of the matching backups.
+     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+     * of the matching backups.
      * 
* * string next_page_token = 2; @@ -1077,8 +1075,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * `next_page_token` can be sent in a subsequent
-     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]
-     * call to fetch more of the matching backups.
+     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+     * of the matching backups.
      * 
* * string next_page_token = 2; @@ -1096,8 +1094,8 @@ public Builder clearNextPageToken() { * *
      * `next_page_token` can be sent in a subsequent
-     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]
-     * call to fetch more of the matching backups.
+     * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+     * of the matching backups.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java index 2b4e7936db..fe5c302a0e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java @@ -85,8 +85,8 @@ public interface ListBackupsResponseOrBuilder * *
    * `next_page_token` can be sent in a subsequent
-   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]
-   * call to fetch more of the matching backups.
+   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+   * of the matching backups.
    * 
* * string next_page_token = 2; @@ -99,8 +99,8 @@ public interface ListBackupsResponseOrBuilder * *
    * `next_page_token` can be sent in a subsequent
-   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]
-   * call to fetch more of the matching backups.
+   * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
+   * of the matching backups.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java index 0f3bb37ece..d59caa1f7d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java @@ -205,9 +205,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -224,8 +222,7 @@ public com.google.protobuf.ByteString getParentBytes() { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -264,9 +261,7 @@ public java.lang.String getFilter() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -283,8 +278,7 @@ public java.lang.String getFilter() { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -336,9 +330,8 @@ public int getPageSize() { *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
-   * from a previous
-   * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; @@ -363,9 +356,8 @@ 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]
-   * from a previous
-   * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; @@ -897,9 +889,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -916,8 +906,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -955,9 +944,7 @@ public java.lang.String getFilter() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -974,8 +961,7 @@ public java.lang.String getFilter() { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -1013,9 +999,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -1032,8 +1016,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -1070,9 +1053,7 @@ public Builder setFilter(java.lang.String value) { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -1089,8 +1070,7 @@ public Builder setFilter(java.lang.String value) { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -1123,9 +1103,7 @@ public Builder clearFilter() { * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -1142,8 +1120,7 @@ public Builder clearFilter() { * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -1229,9 +1206,8 @@ public Builder clearPageSize() { *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
-     * from a previous
-     * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1255,9 +1231,8 @@ 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]
-     * from a previous
-     * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1281,9 +1256,8 @@ 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]
-     * from a previous
-     * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1306,9 +1280,8 @@ public Builder setPageToken(java.lang.String value) { *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
-     * from a previous
-     * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; @@ -1327,9 +1300,8 @@ public Builder clearPageToken() { *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
-     * from a previous
-     * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-     * to the same `parent` and with the same `filter`.
+     * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+     * same `parent` and with the same `filter`.
      * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java index b1ca680d44..38eb5693e1 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java @@ -69,9 +69,7 @@ public interface ListDatabaseOperationsRequestOrBuilder * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -88,8 +86,7 @@ public interface ListDatabaseOperationsRequestOrBuilder * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -117,9 +114,7 @@ public interface ListDatabaseOperationsRequestOrBuilder * * `name` - The name of the long-running operation * * `done` - False if the operation is in progress, else true. * * `metadata.@type` - the type of metadata. For example, the type string - * for - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - * is + * for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is * `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * * `metadata.<field_name>` - any field in metadata.value. * * `error` - Error associated with the long-running operation. @@ -136,8 +131,7 @@ public interface ListDatabaseOperationsRequestOrBuilder * `(metadata.name:restored_howl) AND` \ * `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ * `(error:*)` - Return operations where: - * * The operation's metadata type is - * [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + * * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. * * The database is restored from a backup. * * The backup name contains "backup_howl". * * The restored database's name contains "restored_howl". @@ -171,9 +165,8 @@ public interface ListDatabaseOperationsRequestOrBuilder *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
-   * from a previous
-   * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; @@ -187,9 +180,8 @@ public interface ListDatabaseOperationsRequestOrBuilder *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
-   * from a previous
-   * [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse]
-   * to the same `parent` and with the same `filter`.
+   * from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the
+   * same `parent` and with the same `filter`.
    * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java index a4f2d95e56..8c7bf427c4 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
+ * The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} @@ -206,9 +205,8 @@ public int getPageSize() { * *
    * If non-empty, `page_token` should contain a
-   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
-   * from a previous
-   * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+   * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
    * 
* * string page_token = 4; @@ -232,9 +230,8 @@ 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 previous
-   * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+   * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
    * 
* * string page_token = 4; @@ -436,8 +433,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
+   * The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} @@ -787,9 +783,8 @@ public Builder clearPageSize() { * *
      * If non-empty, `page_token` should contain a
-     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
-     * from a previous
-     * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+     * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
      * 
* * string page_token = 4; @@ -812,9 +807,8 @@ 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 previous
-     * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+     * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
      * 
* * string page_token = 4; @@ -837,9 +831,8 @@ 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 previous
-     * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+     * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
      * 
* * string page_token = 4; @@ -861,9 +854,8 @@ public Builder setPageToken(java.lang.String value) { * *
      * If non-empty, `page_token` should contain a
-     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
-     * from a previous
-     * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+     * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
      * 
* * string page_token = 4; @@ -881,9 +873,8 @@ public Builder clearPageToken() { * *
      * If non-empty, `page_token` should contain a
-     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
-     * from a previous
-     * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+     * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+     * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
      * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java index 07ece05c55..89cfe991ec 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java @@ -73,9 +73,8 @@ public interface ListDatabasesRequestOrBuilder * *
    * If non-empty, `page_token` should contain a
-   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
-   * from a previous
-   * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+   * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
    * 
* * string page_token = 4; @@ -88,9 +87,8 @@ public interface ListDatabasesRequestOrBuilder * *
    * If non-empty, `page_token` should contain a
-   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token]
-   * from a previous
-   * [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
+   * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
+   * previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
    * 
* * string page_token = 4; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java index 84eaf1a8d1..b96d13481b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java @@ -22,8 +22,7 @@ * * *
- * The response for
- * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
+ * The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} @@ -205,8 +204,8 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil * *
    * `next_page_token` can be sent in a subsequent
-   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]
-   * call to fetch more of the matching databases.
+   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+   * of the matching databases.
    * 
* * string next_page_token = 2; @@ -230,8 +229,8 @@ 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 of the matching databases.
+   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+   * of the matching databases.
    * 
* * string next_page_token = 2; @@ -426,8 +425,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for
-   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
+   * The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} @@ -986,8 +984,8 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder * *
      * `next_page_token` can be sent in a subsequent
-     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]
-     * call to fetch more of the matching databases.
+     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+     * of the matching databases.
      * 
* * string next_page_token = 2; @@ -1010,8 +1008,8 @@ 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 of the matching databases.
+     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+     * of the matching databases.
      * 
* * string next_page_token = 2; @@ -1034,8 +1032,8 @@ 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 of the matching databases.
+     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+     * of the matching databases.
      * 
* * string next_page_token = 2; @@ -1057,8 +1055,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * `next_page_token` can be sent in a subsequent
-     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]
-     * call to fetch more of the matching databases.
+     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+     * of the matching databases.
      * 
* * string next_page_token = 2; @@ -1076,8 +1074,8 @@ public Builder clearNextPageToken() { * *
      * `next_page_token` can be sent in a subsequent
-     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]
-     * call to fetch more of the matching databases.
+     * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+     * of the matching databases.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java index 7fdefde15d..e6b6facc0b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java @@ -80,8 +80,8 @@ public interface ListDatabasesResponseOrBuilder * *
    * `next_page_token` can be sent in a subsequent
-   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]
-   * call to fetch more of the matching databases.
+   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+   * of the matching databases.
    * 
* * string next_page_token = 2; @@ -94,8 +94,8 @@ public interface ListDatabasesResponseOrBuilder * *
    * `next_page_token` can be sent in a subsequent
-   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]
-   * call to fetch more of the matching databases.
+   * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
+   * of the matching databases.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java index ab45840391..31e93c6fdf 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java @@ -146,8 +146,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { * *
      * This is the default option when
-     * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig]
-     * is not specified.
+     * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
      * 
* * USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1; @@ -192,8 +191,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { * *
      * This is the default option when
-     * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig]
-     * is not specified.
+     * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
      * 
* * USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1; @@ -359,10 +357,10 @@ public int getEncryptionTypeValue() { * * *
-   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the
-   * restored database. This field should be set only when
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+   * database. This field should be set only when
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* @@ -388,10 +386,10 @@ 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
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+   * database. This field should be set only when
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* @@ -874,10 +872,10 @@ public Builder clearEncryptionType() { * * *
-     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the
-     * restored database. This field should be set only when
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+     * database. This field should be set only when
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -902,10 +900,10 @@ 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
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+     * database. This field should be set only when
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -930,10 +928,10 @@ 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
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+     * database. This field should be set only when
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -957,10 +955,10 @@ public Builder setKmsKeyName(java.lang.String value) { * * *
-     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the
-     * restored database. This field should be set only when
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+     * database. This field should be set only when
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* @@ -980,10 +978,10 @@ public Builder clearKmsKeyName() { * * *
-     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the
-     * restored database. This field should be set only when
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+     * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+     * database. This field should be set only when
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+     * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java index 1ee5ae2a06..a3915b2a6f 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java @@ -57,10 +57,10 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder * * *
-   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the
-   * restored database. This field should be set only when
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+   * database. This field should be set only when
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* @@ -75,10 +75,10 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder * * *
-   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the
-   * restored database. This field should be set only when
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
+   * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
+   * database. This field should be set only when
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is
+   * `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java index 64b9316588..8a849d5671 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java @@ -429,8 +429,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -455,8 +454,7 @@ public boolean hasCancelTime() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -481,8 +479,7 @@ public com.google.protobuf.Timestamp getCancelTime() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -505,10 +502,10 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -538,10 +535,10 @@ public java.lang.String getOptimizeDatabaseOperationName() { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -1667,8 +1664,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1692,8 +1688,7 @@ public boolean hasCancelTime() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1723,8 +1718,7 @@ public com.google.protobuf.Timestamp getCancelTime() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1756,8 +1750,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1786,8 +1779,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1821,8 +1813,7 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1852,8 +1843,7 @@ public Builder clearCancelTime() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1877,8 +1867,7 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1906,8 +1895,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -1941,10 +1929,10 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -1973,10 +1961,10 @@ public java.lang.String getOptimizeDatabaseOperationName() { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -2005,10 +1993,10 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -2036,10 +2024,10 @@ public Builder setOptimizeDatabaseOperationName(java.lang.String value) { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -2063,10 +2051,10 @@ public Builder clearOptimizeDatabaseOperationName() { * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java index 4659104599..35ad6d76e9 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java @@ -163,8 +163,7 @@ public interface RestoreDatabaseMetadataOrBuilder * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -186,8 +185,7 @@ public interface RestoreDatabaseMetadataOrBuilder * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -209,8 +207,7 @@ public interface RestoreDatabaseMetadataOrBuilder * operation completed despite cancellation. On successful cancellation, * the operation is not deleted; instead, it becomes an operation with * an [Operation.error][google.longrunning.Operation.error] value with a - * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - * `Code.CANCELLED`. + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. * * * .google.protobuf.Timestamp cancel_time = 5; @@ -228,10 +225,10 @@ public interface RestoreDatabaseMetadataOrBuilder * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; @@ -250,10 +247,10 @@ public interface RestoreDatabaseMetadataOrBuilder * `projects/<project>/instances/<instance>/databases/<database>/operations/<operation>` * where the <database> is the name of database being created and restored to. * The metadata type of the long-running operation is - * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - * This long-running operation will be automatically created by the system - * after the RestoreDatabase long-running operation completes successfully. - * This operation will not be created if the restore was not successful. + * [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + * automatically created by the system after the RestoreDatabase long-running + * operation completes successfully. This operation will not be created if the + * restore was not successful. * * * string optimize_database_operation_name = 6; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java index b468eb9dcd..45a52bca6a 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java @@ -384,12 +384,12 @@ public 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. If this field is not specified, the restored database will use the same
-   * encryption configuration as the backup by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+   * Optional. An encryption configuration describing the encryption type and key
+   * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+   * If this field is not specified, the restored database will use
+   * the same encryption configuration as the backup by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+   * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* * @@ -406,12 +406,12 @@ public 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. If this field is not specified, the restored database will use the same
-   * encryption configuration as the backup by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+   * Optional. An encryption configuration describing the encryption type and key
+   * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+   * If this field is not specified, the restored database will use
+   * the same encryption configuration as the backup by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+   * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* * @@ -431,12 +431,12 @@ public 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. If this field is not specified, the restored database will use the same
-   * encryption configuration as the backup by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+   * Optional. An encryption configuration describing the encryption type and key
+   * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+   * If this field is not specified, the restored database will use
+   * the same encryption configuration as the backup by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+   * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* * @@ -1275,12 +1275,12 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1296,12 +1296,12 @@ public 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. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1325,12 +1325,12 @@ public 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. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1355,12 +1355,12 @@ public Builder setEncryptionConfig( * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1383,12 +1383,12 @@ public Builder setEncryptionConfig( * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1418,12 +1418,12 @@ public Builder mergeEncryptionConfig( * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1445,12 +1445,12 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1467,12 +1467,12 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * @@ -1494,12 +1494,12 @@ public Builder clearEncryptionConfig() { * * *
-     * Optional. An encryption configuration describing the encryption type and
-     * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-     * to. If this field is not specified, the restored database will use the same
-     * encryption configuration as the backup by default, namely
-     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-     * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+     * Optional. An encryption configuration describing the encryption type and key
+     * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+     * If this field is not specified, the restored database will use
+     * the same encryption configuration as the backup by default, namely
+     * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+     * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* * diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java index e75f2d5332..f7c1c6e1f8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java @@ -135,12 +135,12 @@ public interface RestoreDatabaseRequestOrBuilder * * *
-   * Optional. An encryption configuration describing the encryption type and
-   * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-   * to. If this field is not specified, the restored database will use the same
-   * encryption configuration as the backup by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+   * Optional. An encryption configuration describing the encryption type and key
+   * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+   * If this field is not specified, the restored database will use
+   * the same encryption configuration as the backup by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+   * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* * @@ -154,12 +154,12 @@ public interface RestoreDatabaseRequestOrBuilder * * *
-   * Optional. An encryption configuration describing the encryption type and
-   * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-   * to. If this field is not specified, the restored database will use the same
-   * encryption configuration as the backup by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+   * Optional. An encryption configuration describing the encryption type and key
+   * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+   * If this field is not specified, the restored database will use
+   * the same encryption configuration as the backup by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+   * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* * @@ -173,12 +173,12 @@ public interface RestoreDatabaseRequestOrBuilder * * *
-   * Optional. An encryption configuration describing the encryption type and
-   * key resources in Cloud KMS used to encrypt/decrypt the database to restore
-   * to. If this field is not specified, the restored database will use the same
-   * encryption configuration as the backup by default, namely
-   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type]
-   * = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
+   * Optional. An encryption configuration describing the encryption type and key
+   * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
+   * If this field is not specified, the restored database will use
+   * the same encryption configuration as the backup by default, namely
+   * [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] =
+   * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* * 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 index 09b1b2d015..7b60b9afc6 100644 --- 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 @@ -159,164 +159,166 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pis.com/Database\"\204\001\n\030UpdateDatabaseDdlRe" + "quest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner" + ".googleapis.com/Database\022\027\n\nstatements\030\002" - + " \003(\tB\003\340A\002\022\024\n\014operation_id\030\003 \001(\t\"\266\001\n\031Upda" + + " \003(\tB\003\340A\002\022\024\n\014operation_id\030\003 \001(\t\"\375\001\n\031Upda" + "teDatabaseDdlMetadata\0226\n\010database\030\001 \001(\tB" + "$\372A!\n\037spanner.googleapis.com/Database\022\022\n" + "\nstatements\030\002 \003(\t\0225\n\021commit_timestamps\030\003" + " \003(\0132\032.google.protobuf.Timestamp\022\026\n\tthro" - + "ttled\030\004 \001(\010B\003\340A\003\"P\n\023DropDatabaseRequest\022" - + "9\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googl" - + "eapis.com/Database\"R\n\025GetDatabaseDdlRequ" - + "est\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.g" - + "oogleapis.com/Database\",\n\026GetDatabaseDdl" - + "Response\022\022\n\nstatements\030\001 \003(\t\"\217\001\n\035ListDat" - + "abaseOperationsRequest\0227\n\006parent\030\001 \001(\tB\'" + + "ttled\030\004 \001(\010B\003\340A\003\022E\n\010progress\030\005 \003(\01323.goo" + + "gle.spanner.admin.database.v1.OperationP" + + "rogress\"P\n\023DropDatabaseRequest\0229\n\010databa" + + "se\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com" + + "/Database\"R\n\025GetDatabaseDdlRequest\0229\n\010da" + + "tabase\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis" + + ".com/Database\",\n\026GetDatabaseDdlResponse\022" + + "\022\n\nstatements\030\001 \003(\t\"\217\001\n\035ListDatabaseOper" + + "ationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037s" + + "panner.googleapis.com/Instance\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\"l\n\036ListDatabaseOperationsResponse\022" + + "1\n\noperations\030\001 \003(\0132\035.google.longrunning" + + ".Operation\022\027\n\017next_page_token\030\002 \001(\t\"\216\002\n\026" + + "RestoreDatabaseRequest\0227\n\006parent\030\001 \001(\tB\'" + "\340A\002\372A!\n\037spanner.googleapis.com/Instance\022" - + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa" - + "ge_token\030\004 \001(\t\"l\n\036ListDatabaseOperations" - + "Response\0221\n\noperations\030\001 \003(\0132\035.google.lo" - + "ngrunning.Operation\022\027\n\017next_page_token\030\002" - + " \001(\t\"\216\002\n\026RestoreDatabaseRequest\0227\n\006paren" - + "t\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/" - + "Instance\022\030\n\013database_id\030\002 \001(\tB\003\340A\002\0224\n\006ba" - + "ckup\030\003 \001(\tB\"\372A\037\n\035spanner.googleapis.com/" - + "BackupH\000\022a\n\021encryption_config\030\004 \001(\0132A.go" - + "ogle.spanner.admin.database.v1.RestoreDa" - + "tabaseEncryptionConfigB\003\340A\001B\010\n\006source\"\363\002" - + "\n\037RestoreDatabaseEncryptionConfig\022n\n\017enc" - + "ryption_type\030\001 \001(\0162P.google.spanner.admi" - + "n.database.v1.RestoreDatabaseEncryptionC" - + "onfig.EncryptionTypeB\003\340A\002\022?\n\014kms_key_nam" - + "e\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.googleapis.com" - + "/CryptoKey\"\236\001\n\016EncryptionType\022\037\n\033ENCRYPT" - + "ION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CONFIG_DEF" - + "AULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031GOOGLE_DE" - + "FAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAGED_E" - + "NCRYPTION\020\003\"\215\003\n\027RestoreDatabaseMetadata\022" + + "\030\n\013database_id\030\002 \001(\tB\003\340A\002\0224\n\006backup\030\003 \001(" + + "\tB\"\372A\037\n\035spanner.googleapis.com/BackupH\000\022" + + "a\n\021encryption_config\030\004 \001(\0132A.google.span" + + "ner.admin.database.v1.RestoreDatabaseEnc" + + "ryptionConfigB\003\340A\001B\010\n\006source\"\363\002\n\037Restore" + + "DatabaseEncryptionConfig\022n\n\017encryption_t" + + "ype\030\001 \001(\0162P.google.spanner.admin.databas" + + "e.v1.RestoreDatabaseEncryptionConfig.Enc" + + "ryptionTypeB\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)" + + "\340A\001\372A#\n!cloudkms.googleapis.com/CryptoKe" + + "y\"\236\001\n\016EncryptionType\022\037\n\033ENCRYPTION_TYPE_" + + "UNSPECIFIED\020\000\022+\n\'USE_CONFIG_DEFAULT_OR_B" + + "ACKUP_ENCRYPTION\020\001\022\035\n\031GOOGLE_DEFAULT_ENC" + + "RYPTION\020\002\022\037\n\033CUSTOMER_MANAGED_ENCRYPTION" + + "\020\003\"\215\003\n\027RestoreDatabaseMetadata\0222\n\004name\030\001" + + " \001(\tB$\372A!\n\037spanner.googleapis.com/Databa" + + "se\022H\n\013source_type\030\002 \001(\01623.google.spanner" + + ".admin.database.v1.RestoreSourceType\022C\n\013" + + "backup_info\030\003 \001(\0132,.google.spanner.admin" + + ".database.v1.BackupInfoH\000\022E\n\010progress\030\004 " + + "\001(\01323.google.spanner.admin.database.v1.O" + + "perationProgress\022/\n\013cancel_time\030\005 \001(\0132\032." + + "google.protobuf.Timestamp\022(\n optimize_da" + + "tabase_operation_name\030\006 \001(\tB\r\n\013source_in" + + "fo\"\235\001\n OptimizeRestoredDatabaseMetadata\022" + "2\n\004name\030\001 \001(\tB$\372A!\n\037spanner.googleapis.c" - + "om/Database\022H\n\013source_type\030\002 \001(\01623.googl" - + "e.spanner.admin.database.v1.RestoreSourc" - + "eType\022C\n\013backup_info\030\003 \001(\0132,.google.span" - + "ner.admin.database.v1.BackupInfoH\000\022E\n\010pr" - + "ogress\030\004 \001(\01323.google.spanner.admin.data" - + "base.v1.OperationProgress\022/\n\013cancel_time" - + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022(\n op" - + "timize_database_operation_name\030\006 \001(\tB\r\n\013" - + "source_info\"\235\001\n OptimizeRestoredDatabase" - + "Metadata\0222\n\004name\030\001 \001(\tB$\372A!\n\037spanner.goo" - + "gleapis.com/Database\022E\n\010progress\030\002 \001(\01323" - + ".google.spanner.admin.database.v1.Operat" - + "ionProgress*5\n\021RestoreSourceType\022\024\n\020TYPE" - + "_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\0012\223\037\n\rDatabaseA" - + "dmin\022\300\001\n\rListDatabases\0226.google.spanner." - + "admin.database.v1.ListDatabasesRequest\0327" - + ".google.spanner.admin.database.v1.ListDa" - + "tabasesResponse\">\202\323\344\223\002/\022-/v1/{parent=pro" - + "jects/*/instances/*}/databases\332A\006parent\022" - + "\244\002\n\016CreateDatabase\0227.google.spanner.admi" - + "n.database.v1.CreateDatabaseRequest\032\035.go" - + "ogle.longrunning.Operation\"\271\001\202\323\344\223\0022\"-/v1" - + "/{parent=projects/*/instances/*}/databas" - + "es:\001*\332A\027parent,create_statement\312Ad\n)goog" - + "le.spanner.admin.database.v1.Database\0227g" - + "oogle.spanner.admin.database.v1.CreateDa" - + "tabaseMetadata\022\255\001\n\013GetDatabase\0224.google." - + "spanner.admin.database.v1.GetDatabaseReq" - + "uest\032*.google.spanner.admin.database.v1." - + "Database\"<\202\323\344\223\002/\022-/v1/{name=projects/*/i" - + "nstances/*/databases/*}\332A\004name\022\235\002\n\021Updat" - + "eDatabaseDdl\022:.google.spanner.admin.data" - + "base.v1.UpdateDatabaseDdlRequest\032\035.googl" - + "e.longrunning.Operation\"\254\001\202\323\344\223\002:25/v1/{d" - + "atabase=projects/*/instances/*/databases" - + "/*}/ddl:\001*\332A\023database,statements\312AS\n\025goo" - + "gle.protobuf.Empty\022:google.spanner.admin" - + ".database.v1.UpdateDatabaseDdlMetadata\022\243" - + "\001\n\014DropDatabase\0225.google.spanner.admin.d" - + "atabase.v1.DropDatabaseRequest\032\026.google." - + "protobuf.Empty\"D\202\323\344\223\0023*1/v1/{database=pr" - + "ojects/*/instances/*/databases/*}\332A\010data" - + "base\022\315\001\n\016GetDatabaseDdl\0227.google.spanner" - + ".admin.database.v1.GetDatabaseDdlRequest" - + "\0328.google.spanner.admin.database.v1.GetD" - + "atabaseDdlResponse\"H\202\323\344\223\0027\0225/v1/{databas" - + "e=projects/*/instances/*/databases/*}/dd" - + "l\332A\010database\022\353\001\n\014SetIamPolicy\022\".google.i" - + "am.v1.SetIamPolicyRequest\032\025.google.iam.v" - + "1.Policy\"\237\001\202\323\344\223\002\206\001\">/v1/{resource=projec" - + "ts/*/instances/*/databases/*}:setIamPoli" - + "cy:\001*ZA\"/v1/{resource=projects" - + "/*/instances/*/databases/*}:getIamPolicy" - + ":\001*ZA\".google.spanner.admin.database.v1.ListB" - + "ackupOperationsResponse\"E\202\323\344\223\0026\0224/v1/{pa" - + "rent=projects/*/instances/*}/backupOpera" - + "tions\332A\006parent\032x\312A\026spanner.googleapis.co" - + "m\322A\\https://www.googleapis.com/auth/clou" - + "d-platform,https://www.googleapis.com/au" - + "th/spanner.adminB\332\002\n$com.google.spanner." - + "admin.database.v1B\031SpannerDatabaseAdminP" - + "rotoP\001ZHgoogle.golang.org/genproto/googl" - + "eapis/spanner/admin/database/v1;database" - + "\252\002&Google.Cloud.Spanner.Admin.Database.V" - + "1\312\002&Google\\Cloud\\Spanner\\Admin\\Database\\" - + "V1\352\002+Google::Cloud::Spanner::Admin::Data" - + "base::V1\352AJ\n\037spanner.googleapis.com/Inst" - + "ance\022\'projects/{project}/instances/{inst" - + "ance}b\006proto3" + + "om/Database\022E\n\010progress\030\002 \001(\01323.google.s" + + "panner.admin.database.v1.OperationProgre" + + "ss*5\n\021RestoreSourceType\022\024\n\020TYPE_UNSPECIF" + + "IED\020\000\022\n\n\006BACKUP\020\0012\223\037\n\rDatabaseAdmin\022\300\001\n\r" + + "ListDatabases\0226.google.spanner.admin.dat" + + "abase.v1.ListDatabasesRequest\0327.google.s" + + "panner.admin.database.v1.ListDatabasesRe" + + "sponse\">\202\323\344\223\002/\022-/v1/{parent=projects/*/i" + + "nstances/*}/databases\332A\006parent\022\244\002\n\016Creat" + + "eDatabase\0227.google.spanner.admin.databas" + + "e.v1.CreateDatabaseRequest\032\035.google.long" + + "running.Operation\"\271\001\202\323\344\223\0022\"-/v1/{parent=" + + "projects/*/instances/*}/databases:\001*\332A\027p" + + "arent,create_statement\312Ad\n)google.spanne" + + "r.admin.database.v1.Database\0227google.spa" + + "nner.admin.database.v1.CreateDatabaseMet" + + "adata\022\255\001\n\013GetDatabase\0224.google.spanner.a" + + "dmin.database.v1.GetDatabaseRequest\032*.go" + + "ogle.spanner.admin.database.v1.Database\"" + + "<\202\323\344\223\002/\022-/v1/{name=projects/*/instances/" + + "*/databases/*}\332A\004name\022\235\002\n\021UpdateDatabase" + + "Ddl\022:.google.spanner.admin.database.v1.U" + + "pdateDatabaseDdlRequest\032\035.google.longrun" + + "ning.Operation\"\254\001\202\323\344\223\002:25/v1/{database=p" + + "rojects/*/instances/*/databases/*}/ddl:\001" + + "*\332A\023database,statements\312AS\n\025google.proto" + + "buf.Empty\022:google.spanner.admin.database" + + ".v1.UpdateDatabaseDdlMetadata\022\243\001\n\014DropDa" + + "tabase\0225.google.spanner.admin.database.v" + + "1.DropDatabaseRequest\032\026.google.protobuf." + + "Empty\"D\202\323\344\223\0023*1/v1/{database=projects/*/" + + "instances/*/databases/*}\332A\010database\022\315\001\n\016" + + "GetDatabaseDdl\0227.google.spanner.admin.da" + + "tabase.v1.GetDatabaseDdlRequest\0328.google" + + ".spanner.admin.database.v1.GetDatabaseDd" + + "lResponse\"H\202\323\344\223\0027\0225/v1/{database=project" + + "s/*/instances/*/databases/*}/ddl\332A\010datab" + + "ase\022\353\001\n\014SetIamPolicy\022\".google.iam.v1.Set" + + "IamPolicyRequest\032\025.google.iam.v1.Policy\"" + + "\237\001\202\323\344\223\002\206\001\">/v1/{resource=projects/*/inst" + + "ances/*/databases/*}:setIamPolicy:\001*ZA\"<" + + "/v1/{resource=projects/*/instances/*/bac" + + "kups/*}:setIamPolicy:\001*\332A\017resource,polic" + + "y\022\344\001\n\014GetIamPolicy\022\".google.iam.v1.GetIa" + + "mPolicyRequest\032\025.google.iam.v1.Policy\"\230\001" + + "\202\323\344\223\002\206\001\">/v1/{resource=projects/*/instan" + + "ces/*/databases/*}:getIamPolicy:\001*ZA\".google." + + "spanner.admin.database.v1.ListBackupOper" + + "ationsResponse\"E\202\323\344\223\0026\0224/v1/{parent=proj" + + "ects/*/instances/*}/backupOperations\332A\006p" + + "arent\032x\312A\026spanner.googleapis.com\322A\\https" + + "://www.googleapis.com/auth/cloud-platfor" + + "m,https://www.googleapis.com/auth/spanne" + + "r.adminB\332\002\n$com.google.spanner.admin.dat" + + "abase.v1B\031SpannerDatabaseAdminProtoP\001ZHg" + + "oogle.golang.org/genproto/googleapis/spa" + + "nner/admin/database/v1;database\252\002&Google" + + ".Cloud.Spanner.Admin.Database.V1\312\002&Googl" + + "e\\Cloud\\Spanner\\Admin\\Database\\V1\352\002+Goog" + + "le::Cloud::Spanner::Admin::Database::V1\352" + + "AJ\n\037spanner.googleapis.com/Instance\022\'pro" + + "jects/{project}/instances/{instance}b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -411,7 +413,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, new java.lang.String[] { - "Database", "Statements", "CommitTimestamps", "Throttled", + "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", }); internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = getDescriptor().getMessageTypes().get(9); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java index 4771b6f336..6eb84dbaf8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java @@ -22,8 +22,7 @@ * * *
- * The request for
- * [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
+ * The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.UpdateBackupRequest} @@ -441,8 +440,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for
-   * [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
+   * The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.UpdateBackupRequest} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java index 84c28ef2cc..87bb233ab9 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java @@ -42,6 +42,7 @@ private UpdateDatabaseDdlMetadata() { database_ = ""; statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; commitTimestamps_ = java.util.Collections.emptyList(); + progress_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -106,6 +107,20 @@ private UpdateDatabaseDdlMetadata( throttled_ = input.readBool(); break; } + case 42: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + progress_ = + new java.util.ArrayList< + com.google.spanner.admin.database.v1.OperationProgress>(); + mutable_bitField0_ |= 0x00000004; + } + progress_.add( + input.readMessage( + com.google.spanner.admin.database.v1.OperationProgress.parser(), + extensionRegistry)); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -126,6 +141,9 @@ private UpdateDatabaseDdlMetadata( if (((mutable_bitField0_ & 0x00000002) != 0)) { commitTimestamps_ = java.util.Collections.unmodifiableList(commitTimestamps_); } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + progress_ = java.util.Collections.unmodifiableList(progress_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -359,6 +377,111 @@ public boolean getThrottled() { return throttled_; } + public static final int PROGRESS_FIELD_NUMBER = 5; + private java.util.List progress_; + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + @java.lang.Override + public java.util.List getProgressList() { + return progress_; + } + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + @java.lang.Override + public java.util.List + getProgressOrBuilderList() { + return progress_; + } + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + @java.lang.Override + public int getProgressCount() { + return progress_.size(); + } + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + @java.lang.Override + public com.google.spanner.admin.database.v1.OperationProgress getProgress(int index) { + return progress_.get(index); + } + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + @java.lang.Override + public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder( + int index) { + return progress_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -385,6 +508,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (throttled_ != false) { output.writeBool(4, throttled_); } + for (int i = 0; i < progress_.size(); i++) { + output.writeMessage(5, progress_.get(i)); + } unknownFields.writeTo(output); } @@ -411,6 +537,9 @@ public int getSerializedSize() { if (throttled_ != false) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -431,6 +560,7 @@ public boolean equals(final java.lang.Object obj) { 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -454,6 +584,10 @@ public int hashCode() { } hash = (37 * hash) + THROTTLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getThrottled()); + if (getProgressCount() > 0) { + hash = (37 * hash) + PROGRESS_FIELD_NUMBER; + hash = (53 * hash) + getProgressList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -597,6 +731,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCommitTimestampsFieldBuilder(); + getProgressFieldBuilder(); } } @@ -615,6 +750,12 @@ public Builder clear() { } throttled_ = false; + if (progressBuilder_ == null) { + progress_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + progressBuilder_.clear(); + } return this; } @@ -660,6 +801,15 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata buildParti result.commitTimestamps_ = commitTimestampsBuilder_.build(); } result.throttled_ = throttled_; + if (progressBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + progress_ = java.util.Collections.unmodifiableList(progress_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.progress_ = progress_; + } else { + result.progress_ = progressBuilder_.build(); + } onBuilt(); return result; } @@ -755,6 +905,33 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM if (other.getThrottled() != false) { setThrottled(other.getThrottled()); } + if (progressBuilder_ == null) { + if (!other.progress_.isEmpty()) { + if (progress_.isEmpty()) { + progress_ = other.progress_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureProgressIsMutable(); + progress_.addAll(other.progress_); + } + onChanged(); + } + } else { + if (!other.progress_.isEmpty()) { + if (progressBuilder_.isEmpty()) { + progressBuilder_.dispose(); + progressBuilder_ = null; + progress_ = other.progress_; + bitField0_ = (bitField0_ & ~0x00000004); + progressBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getProgressFieldBuilder() + : null; + } else { + progressBuilder_.addAllMessages(other.progress_); + } + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1517,6 +1694,492 @@ public Builder clearThrottled() { return this; } + private java.util.List progress_ = + java.util.Collections.emptyList(); + + private void ensureProgressIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + progress_ = + new java.util.ArrayList( + progress_); + bitField0_ |= 0x00000004; + } + } + + 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_; + + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public java.util.List + getProgressList() { + if (progressBuilder_ == null) { + return java.util.Collections.unmodifiableList(progress_); + } else { + return progressBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public int getProgressCount() { + if (progressBuilder_ == null) { + return progress_.size(); + } else { + return progressBuilder_.getCount(); + } + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public com.google.spanner.admin.database.v1.OperationProgress getProgress(int index) { + if (progressBuilder_ == null) { + return progress_.get(index); + } else { + return progressBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder setProgress( + int index, com.google.spanner.admin.database.v1.OperationProgress value) { + if (progressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProgressIsMutable(); + progress_.set(index, value); + onChanged(); + } else { + progressBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder setProgress( + int index, com.google.spanner.admin.database.v1.OperationProgress.Builder builderForValue) { + if (progressBuilder_ == null) { + ensureProgressIsMutable(); + progress_.set(index, builderForValue.build()); + onChanged(); + } else { + progressBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder addProgress(com.google.spanner.admin.database.v1.OperationProgress value) { + if (progressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProgressIsMutable(); + progress_.add(value); + onChanged(); + } else { + progressBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder addProgress( + int index, com.google.spanner.admin.database.v1.OperationProgress value) { + if (progressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProgressIsMutable(); + progress_.add(index, value); + onChanged(); + } else { + progressBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder addProgress( + com.google.spanner.admin.database.v1.OperationProgress.Builder builderForValue) { + if (progressBuilder_ == null) { + ensureProgressIsMutable(); + progress_.add(builderForValue.build()); + onChanged(); + } else { + progressBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder addProgress( + int index, com.google.spanner.admin.database.v1.OperationProgress.Builder builderForValue) { + if (progressBuilder_ == null) { + ensureProgressIsMutable(); + progress_.add(index, builderForValue.build()); + onChanged(); + } else { + progressBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder addAllProgress( + java.lang.Iterable + values) { + if (progressBuilder_ == null) { + ensureProgressIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, progress_); + onChanged(); + } else { + progressBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder clearProgress() { + if (progressBuilder_ == null) { + progress_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + progressBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public Builder removeProgress(int index) { + if (progressBuilder_ == null) { + ensureProgressIsMutable(); + progress_.remove(index); + onChanged(); + } else { + progressBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgressBuilder( + int index) { + return getProgressFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder( + int index) { + if (progressBuilder_ == null) { + return progress_.get(index); + } else { + return progressBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public java.util.List + getProgressOrBuilderList() { + if (progressBuilder_ != null) { + return progressBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(progress_); + } + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * 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()); + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder( + int index) { + return getProgressFieldBuilder() + .addBuilder( + index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()); + } + /** + * + * + *
+     * The progress of the
+     * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+     * Currently, only index creation statements will have a continuously
+     * updating progress.
+     * For non-index creation statements, `progress[i]` will have start time
+     * and end time populated with commit timestamp of operation,
+     * as well as a progress of 100% once the operation has completed.
+     * `progress[i]` is the operation progress for `statements[i]`.
+     * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + 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> + 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_ & 0x00000004) != 0), getParentForChildren(), isClean()); + progress_ = null; + } + return progressBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java index ae6d6da4dc..0557d7314d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java @@ -179,4 +179,91 @@ public interface UpdateDatabaseDdlMetadataOrBuilder * @return The throttled. */ boolean getThrottled(); + + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + java.util.List getProgressList(); + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + com.google.spanner.admin.database.v1.OperationProgress getProgress(int index); + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + int getProgressCount(); + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + java.util.List + getProgressOrBuilderList(); + /** + * + * + *
+   * The progress of the
+   * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
+   * Currently, only index creation statements will have a continuously
+   * updating progress.
+   * For non-index creation statements, `progress[i]` will have start time
+   * and end time populated with commit timestamp of operation,
+   * as well as a progress of 100% once the operation has completed.
+   * `progress[i]` is the operation progress for `statements[i]`.
+   * 
+ * + * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5; + */ + com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(int index); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java index 8f9214becf..d4b1adc70f 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java @@ -35,8 +35,8 @@ * Each batch of statements is assigned a name which can be used with * the [Operations][google.longrunning.Operations] API to monitor * progress. See the - * [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] - * field for more details. + * [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] field for more + * details. * * * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest} @@ -274,19 +274,17 @@ public com.google.protobuf.ByteString getStatementsBytes(int index) { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -315,19 +313,17 @@ public java.lang.String getOperationId() { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -549,8 +545,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Each batch of statements is assigned a name which can be used with * the [Operations][google.longrunning.Operations] API to monitor * progress. See the - * [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] - * field for more details. + * [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] field for more + * details. * * * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest} @@ -1030,19 +1026,17 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -1070,19 +1064,17 @@ public java.lang.String getOperationId() { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -1110,19 +1102,17 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -1149,19 +1139,17 @@ public Builder setOperationId(java.lang.String value) { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -1184,19 +1172,17 @@ public Builder clearOperationId() { * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java index 1519dd8d71..cad7c3a28a 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java @@ -113,19 +113,17 @@ public interface UpdateDatabaseDdlRequestOrBuilder * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; @@ -143,19 +141,17 @@ public interface UpdateDatabaseDdlRequestOrBuilder * [Operation][google.longrunning.Operation]. * Specifying an explicit operation ID simplifies determining * whether the statements were executed in the event that the - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * call is replayed, or the return value is otherwise lost: the - * [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - * and `operation_id` fields can be combined to form the + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + * or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + * `operation_id` fields can be combined to form the * [name][google.longrunning.Operation.name] of the resulting - * [longrunning.Operation][google.longrunning.Operation]: - * `<database>/operations/<operation_id>`. + * [longrunning.Operation][google.longrunning.Operation]: `<database>/operations/<operation_id>`. * `operation_id` should be unique within the database, and must be * a valid identifier: `[a-z][a-z0-9_]*`. Note that * automatically-generated operation IDs always begin with an * underscore. If the named operation already exists, - * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - * returns `ALREADY_EXISTS`. + * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + * `ALREADY_EXISTS`. * * * string operation_id = 3; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto index 31fdb5326c..ba57c1731c 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto @@ -22,6 +22,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/spanner/admin/database/v1/common.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; @@ -51,14 +52,14 @@ message Backup { READY = 2; } - // Required for the - // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] - // operation. Name of the database from which this backup was created. This - // needs to be in the same instance as the backup. Values are of the form + // Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. + // Name of the database from which this backup was + // created. This needs to be in the same instance as the backup. + // Values are of the form // `projects//instances//databases/`. string database = 2 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; // The backup will contain an externally consistent copy of the database at // the timestamp specified by `version_time`. If `version_time` is not @@ -66,8 +67,7 @@ message Backup { // backup. google.protobuf.Timestamp version_time = 9; - // Required for the - // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] + // Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] // operation. The expiration time of the backup, with microseconds // granularity that must be at least 6 hours and at most 366 days // from the time the CreateBackup request is processed. Once the `expire_time` @@ -75,11 +75,8 @@ message Backup { // Spanner to free the resources used by the backup. google.protobuf.Timestamp expire_time = 3; - // 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. + // 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. // // A globally unique identifier for the backup which cannot be // changed. Values are of the form @@ -93,12 +90,10 @@ message Backup { // `projects//instances/`. string name = 1; - // Output only. The time the - // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] + // 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]; // Output only. Size of the backup in bytes. int64 size_bytes = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -121,12 +116,10 @@ message Backup { ]; // Output only. The encryption information for the backup. - EncryptionInfo encryption_info = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + EncryptionInfo encryption_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The request for -// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. +// The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. message CreateBackupRequest { // Required. The name of the instance in which the backup will be // created. This must be the same instance that contains the database the @@ -149,31 +142,29 @@ message CreateBackupRequest { // Required. The backup to create. Backup backup = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. The encryption configuration used to encrypt the backup. If this - // field is not specified, the backup will use the same encryption - // configuration as the database by default, namely - // [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] - // = `USE_DATABASE_ENCRYPTION`. - CreateBackupEncryptionConfig encryption_config = 4 - [(google.api.field_behavior) = OPTIONAL]; + // Optional. The encryption configuration used to encrypt the backup. If this field is + // not specified, the backup will use the same + // encryption configuration as the database by default, namely + // [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] = + // `USE_DATABASE_ENCRYPTION`. + CreateBackupEncryptionConfig encryption_config = 4 [(google.api.field_behavior) = OPTIONAL]; } // Metadata type for the operation returned by // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. message CreateBackupMetadata { // The name of the backup being created. - string name = 1 [ - (google.api.resource_reference) = { type: "spanner.googleapis.com/Backup" } - ]; + string name = 1 [(google.api.resource_reference) = { + type: "spanner.googleapis.com/Backup" + }]; // The name of the database the backup is created from. string database = 2 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; // The progress of the - // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] - // operation. + // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. OperationProgress progress = 3; // The time at which cancellation of this operation was received. @@ -191,8 +182,7 @@ message CreateBackupMetadata { google.protobuf.Timestamp cancel_time = 4; } -// The request for -// [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup]. +// The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup]. message UpdateBackupRequest { // Required. The backup to update. `backup.name`, and the fields to be updated // as specified by `update_mask` are required. Other fields are ignored. @@ -205,36 +195,36 @@ message UpdateBackupRequest { // resource, not to the request message. The field mask must always be // specified; this prevents any future fields from being erased accidentally // 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]; } -// The request for -// [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup]. +// The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup]. message GetBackupRequest { // Required. Name of the backup. // Values are of the form // `projects//instances//backups/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "spanner.googleapis.com/Backup" } + (google.api.resource_reference) = { + type: "spanner.googleapis.com/Backup" + } ]; } -// The request for -// [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup]. +// The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup]. message DeleteBackupRequest { // Required. Name of the backup to delete. // Values are of the form // `projects//instances//backups/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "spanner.googleapis.com/Backup" } + (google.api.resource_reference) = { + type: "spanner.googleapis.com/Backup" + } ]; } -// The request for -// [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. +// The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. message ListBackupsRequest { // Required. The instance to list backups from. Values are of the // form `projects//instances/`. @@ -253,9 +243,7 @@ message ListBackupsRequest { // must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. // Colon `:` is the contains operator. Filter rules are not case sensitive. // - // The following fields in the - // [Backup][google.spanner.admin.database.v1.Backup] are eligible for - // filtering: + // The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: // // * `name` // * `database` @@ -289,23 +277,21 @@ message ListBackupsRequest { int32 page_size = 3; // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] - // from a previous - // [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] - // to the same `parent` and with the same `filter`. + // [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a + // previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same + // `filter`. string page_token = 4; } -// The response for -// [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. +// The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. message ListBackupsResponse { // The list of matching backups. Backups returned are ordered by `create_time` // in descending order, starting from the most recent `create_time`. repeated Backup backups = 1; // `next_page_token` can be sent in a subsequent - // [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] - // call to fetch more of the matching backups. + // [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more + // of the matching backups. string next_page_token = 2; } @@ -335,9 +321,7 @@ message ListBackupOperationsRequest { // * `name` - The name of the long-running operation // * `done` - False if the operation is in progress, else true. // * `metadata.@type` - the type of metadata. For example, the type string - // for - // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] - // is + // for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is // `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. // * `metadata.` - any field in metadata.value. // * `error` - Error associated with the long-running operation. @@ -357,8 +341,7 @@ message ListBackupOperationsRequest { // `(metadata.name:howl) AND` \ // `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ // `(error:*)` - Returns operations where: - // * The operation's metadata type is - // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. + // * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. // * The backup name contains the string "howl". // * The operation started before 2018-03-28T14:50:00Z. // * The operation resulted in an error. @@ -370,9 +353,8 @@ message ListBackupOperationsRequest { // If non-empty, `page_token` should contain a // [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] - // from a previous - // [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] - // to the same `parent` and with the same `filter`. + // from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the + // same `parent` and with the same `filter`. string page_token = 4; } @@ -383,11 +365,11 @@ message ListBackupOperationsResponse { // operations][google.longrunning.Operation]. Each operation's name will be // prefixed by the backup's name and the operation's // [metadata][google.longrunning.Operation.metadata] will be of type - // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - // Operations returned include those that are pending or have - // completed/failed/canceled within the last 7 days. Operations returned are - // ordered by `operation.metadata.value.progress.start_time` in descending - // order starting from the most recently started operation. + // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are + // pending or have completed/failed/canceled within the last 7 days. + // Operations returned are ordered by + // `operation.metadata.value.progress.start_time` in descending order starting + // from the most recently started operation. repeated google.longrunning.Operation operations = 1; // `next_page_token` can be sent in a subsequent @@ -399,26 +381,25 @@ message ListBackupOperationsResponse { // Information about a backup. message BackupInfo { // Name of the backup. - string backup = 1 [ - (google.api.resource_reference) = { type: "spanner.googleapis.com/Backup" } - ]; + string backup = 1 [(google.api.resource_reference) = { + type: "spanner.googleapis.com/Backup" + }]; // The backup contains an externally consistent copy of `source_database` at // the timestamp specified by `version_time`. If the - // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] - // request did not specify `version_time`, the `version_time` of the backup is - // equivalent to the `create_time`. + // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify + // `version_time`, the `version_time` of the backup is equivalent to the + // `create_time`. google.protobuf.Timestamp version_time = 4; - // The time the - // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] - // request was received. + // The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was + // received. google.protobuf.Timestamp create_time = 2; // Name of the database the backup was created from. string source_database = 3 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; } // Encryption configuration for the backup to create. @@ -430,10 +411,9 @@ message CreateBackupEncryptionConfig { // Use the same encryption configuration as the database. This is the // default option when - // [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] - // is empty. For example, if the database is using - // `Customer_Managed_Encryption`, the backup will be using the same Cloud - // KMS key as the database. + // [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] is empty. + // For example, if the database is using `Customer_Managed_Encryption`, the + // backup will be using the same Cloud KMS key as the database. USE_DATABASE_ENCRYPTION = 1; // Use Google default encryption. @@ -449,8 +429,8 @@ message CreateBackupEncryptionConfig { // Optional. The Cloud KMS key that will be used to protect the backup. // This field should be set only when - // [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] - // is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form + // [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is + // `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form // `projects//locations//keyRings//cryptoKeys/`. string kms_key_name = 2 [ (google.api.field_behavior) = OPTIONAL, diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto index 24d7c2d080..29aabff0ba 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; @@ -58,8 +59,8 @@ message EncryptionConfig { // the database. Values are of the form // `projects//locations//keyRings//cryptoKeys/`. string kms_key_name = 2 [(google.api.resource_reference) = { - type: "cloudkms.googleapis.com/CryptoKey" - }]; + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Encryption information for a Cloud Spanner database or backup. @@ -83,14 +84,13 @@ message EncryptionInfo { // Output only. The type of encryption. Type encryption_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // 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]; + // 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]; - // Output only. A Cloud KMS key version that is being used to protect the - // database or backup. + // 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) = { diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto index f09cf073b2..668e8a0468 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto @@ -65,11 +65,10 @@ service DatabaseAdmin { // have a name of the format `/operations/` and // can be used to track preparation of the database. The // [metadata][google.longrunning.Operation.metadata] field type is - // [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. - // The [response][google.longrunning.Operation.response] field type is + // [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The + // [response][google.longrunning.Operation.response] field type is // [Database][google.spanner.admin.database.v1.Database], if successful. - rpc CreateDatabase(CreateDatabaseRequest) - returns (google.longrunning.Operation) { + rpc CreateDatabase(CreateDatabaseRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/instances/*}/databases" body: "*" @@ -95,10 +94,8 @@ service DatabaseAdmin { // the format `/operations/` and can be used to // track execution of the schema change(s). The // [metadata][google.longrunning.Operation.metadata] field type is - // [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. - // The operation has no response. - rpc UpdateDatabaseDdl(UpdateDatabaseDdlRequest) - returns (google.longrunning.Operation) { + // [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response. + rpc UpdateDatabaseDdl(UpdateDatabaseDdlRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{database=projects/*/instances/*/databases/*}/ddl" body: "*" @@ -137,8 +134,7 @@ service DatabaseAdmin { // permission on [resource][google.iam.v1.SetIamPolicyRequest.resource]. // For backups, authorization requires `spanner.backups.setIamPolicy` // permission on [resource][google.iam.v1.SetIamPolicyRequest.resource]. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) - returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/instances/*/databases/*}:setIamPolicy" body: "*" @@ -158,8 +154,7 @@ service DatabaseAdmin { // [resource][google.iam.v1.GetIamPolicyRequest.resource]. // For backups, authorization requires `spanner.backups.getIamPolicy` // permission on [resource][google.iam.v1.GetIamPolicyRequest.resource]. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) - returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/instances/*/databases/*}:getIamPolicy" body: "*" @@ -181,8 +176,7 @@ service DatabaseAdmin { // Calling this method on a backup that does not exist will // result in a NOT_FOUND error if the user has // `spanner.backups.list` permission on the containing instance. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) - returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/instances/*/databases/*}:testIamPermissions" body: "*" @@ -200,12 +194,12 @@ service DatabaseAdmin { // `projects//instances//backups//operations/` // and can be used to track creation of the backup. The // [metadata][google.longrunning.Operation.metadata] field type is - // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. - // The [response][google.longrunning.Operation.response] field type is - // [Backup][google.spanner.admin.database.v1.Backup], if successful. - // Cancelling the returned operation will stop the creation and delete the - // backup. There can be only one pending backup creation per database. Backup - // creation of different databases can run concurrently. + // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. The + // [response][google.longrunning.Operation.response] field type is + // [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the + // creation and delete the backup. + // There can be only one pending backup creation per database. Backup creation + // of different databases can run concurrently. rpc CreateBackup(CreateBackupRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/instances/*}/backups" @@ -218,8 +212,7 @@ service DatabaseAdmin { }; } - // Gets metadata on a pending or completed - // [Backup][google.spanner.admin.database.v1.Backup]. + // Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup]. rpc GetBackup(GetBackupRequest) returns (Backup) { option (google.api.http) = { get: "/v1/{name=projects/*/instances/*/backups/*}" @@ -227,8 +220,7 @@ service DatabaseAdmin { option (google.api.method_signature) = "name"; } - // Updates a pending or completed - // [Backup][google.spanner.admin.database.v1.Backup]. + // Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup]. rpc UpdateBackup(UpdateBackupRequest) returns (Backup) { option (google.api.http) = { patch: "/v1/{backup.name=projects/*/instances/*/backups/*}" @@ -237,8 +229,7 @@ service DatabaseAdmin { option (google.api.method_signature) = "backup,update_mask"; } - // Deletes a pending or completed - // [Backup][google.spanner.admin.database.v1.Backup]. + // Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup]. rpc DeleteBackup(DeleteBackupRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/instances/*/backups/*}" @@ -273,8 +264,7 @@ service DatabaseAdmin { // Once the restore operation completes, a new restore operation can be // initiated, without waiting for the optimize operation associated with the // first restore to complete. - rpc RestoreDatabase(RestoreDatabaseRequest) - returns (google.longrunning.Operation) { + rpc RestoreDatabase(RestoreDatabaseRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/instances/*}/databases:restore" body: "*" @@ -294,8 +284,7 @@ service DatabaseAdmin { // `metadata.type_url` describes the type of the metadata. Operations returned // include those that have completed/failed/canceled within the last 7 days, // and pending operations. - rpc ListDatabaseOperations(ListDatabaseOperationsRequest) - returns (ListDatabaseOperationsResponse) { + rpc ListDatabaseOperations(ListDatabaseOperationsRequest) returns (ListDatabaseOperationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/instances/*}/databaseOperations" }; @@ -312,8 +301,7 @@ service DatabaseAdmin { // and pending operations. Operations returned are ordered by // `operation.metadata.value.progress.start_time` in descending order starting // from the most recently started operation. - rpc ListBackupOperations(ListBackupOperationsRequest) - returns (ListBackupOperationsResponse) { + rpc ListBackupOperations(ListBackupOperationsRequest) returns (ListBackupOperationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/instances/*}/backupOperations" }; @@ -375,8 +363,7 @@ message Database { State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // 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]; // Output only. Applicable only for restored databases. Contains information // about the restore source. @@ -386,8 +373,7 @@ message Database { // field contains the encryption configuration for the database. // For databases that are using Google default or other types of encryption, // this field is empty. - EncryptionConfig encryption_config = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; + EncryptionConfig encryption_config = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. For databases that are using customer managed encryption, this // field contains the encryption information for the database, such as @@ -398,28 +384,24 @@ message Database { // // This field is propagated lazily from the backend. There might be a delay // from when a key version is being used and when it appears in this field. - repeated EncryptionInfo encryption_info = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated EncryptionInfo encryption_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // 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 // database option set using - // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. - // Defaults to 1 hour, if not set. - string version_retention_period = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. Defaults to 1 hour, + // if not set. + string version_retention_period = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // 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 // the moment it is queried. If you are using this value to recover data, make // sure to account for the time from the moment when the value is queried to // 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]; } -// The request for -// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. +// The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. message ListDatabasesRequest { // Required. The instance whose databases should be listed. // Values are of the form `projects//instances/`. @@ -435,26 +417,23 @@ message ListDatabasesRequest { int32 page_size = 3; // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] - // from a previous - // [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse]. + // [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a + // previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse]. string page_token = 4; } -// The response for -// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. +// The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. message ListDatabasesResponse { // Databases that matched the request. repeated Database databases = 1; // `next_page_token` can be sent in a subsequent - // [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] - // call to fetch more of the matching databases. + // [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more + // of the matching databases. string next_page_token = 2; } -// The request for -// [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. +// The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase]. message CreateDatabaseRequest { // Required. The name of the instance that will serve the new database. // Values are of the form `projects//instances/`. @@ -478,11 +457,10 @@ message CreateDatabaseRequest { // if there is an error in any statement, the database is not created. repeated string extra_statements = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The encryption configuration for the database. If this field is - // not specified, Cloud Spanner will encrypt/decrypt all data at rest using + // 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. - EncryptionConfig encryption_config = 4 - [(google.api.field_behavior) = OPTIONAL]; + EncryptionConfig encryption_config = 4 [(google.api.field_behavior) = OPTIONAL]; } // Metadata type for the operation returned by @@ -490,12 +468,11 @@ message CreateDatabaseRequest { message CreateDatabaseMetadata { // The database being created. string database = 1 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; } -// The request for -// [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase]. +// The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase]. message GetDatabaseRequest { // Required. The name of the requested database. Values are of the form // `projects//instances//databases/`. @@ -521,8 +498,8 @@ message GetDatabaseRequest { // Each batch of statements is assigned a name which can be used with // the [Operations][google.longrunning.Operations] API to monitor // progress. See the -// [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] -// field for more details. +// [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] field for more +// details. message UpdateDatabaseDdlRequest { // Required. The database to update. string database = 1 [ @@ -542,20 +519,18 @@ message UpdateDatabaseDdlRequest { // // Specifying an explicit operation ID simplifies determining // whether the statements were executed in the event that the - // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - // call is replayed, or the return value is otherwise lost: the - // [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] - // and `operation_id` fields can be combined to form the + // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] call is replayed, + // or the return value is otherwise lost: the [database][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.database] and + // `operation_id` fields can be combined to form the // [name][google.longrunning.Operation.name] of the resulting - // [longrunning.Operation][google.longrunning.Operation]: - // `/operations/`. + // [longrunning.Operation][google.longrunning.Operation]: `/operations/`. // // `operation_id` should be unique within the database, and must be // a valid identifier: `[a-z][a-z0-9_]*`. Note that // automatically-generated operation IDs always begin with an // underscore. If the named operation already exists, - // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] - // returns `ALREADY_EXISTS`. + // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns + // `ALREADY_EXISTS`. string operation_id = 3; } @@ -564,8 +539,8 @@ message UpdateDatabaseDdlRequest { message UpdateDatabaseDdlMetadata { // The database being modified. string database = 1 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; // For an update this list contains all the statements. For an // individual statement, this list contains only that statement. @@ -580,10 +555,19 @@ message UpdateDatabaseDdlMetadata { // due to resource constraints. When resources become available the operation // will resume and this field will be false again. bool throttled = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The progress of the + // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. + // Currently, only index creation statements will have a continuously + // updating progress. + // For non-index creation statements, `progress[i]` will have start time + // and end time populated with commit timestamp of operation, + // as well as a progress of 100% once the operation has completed. + // `progress[i]` is the operation progress for `statements[i]`. + repeated OperationProgress progress = 5; } -// The request for -// [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase]. +// The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase]. message DropDatabaseRequest { // Required. The database to be dropped. string database = 1 [ @@ -594,8 +578,7 @@ message DropDatabaseRequest { ]; } -// The request for -// [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. +// The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. message GetDatabaseDdlRequest { // Required. The database whose schema we wish to get. // Values are of the form @@ -608,8 +591,7 @@ message GetDatabaseDdlRequest { ]; } -// The response for -// [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. +// The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl]. message GetDatabaseDdlResponse { // A list of formatted DDL statements defining the schema of the database // specified in the request. @@ -642,9 +624,7 @@ message ListDatabaseOperationsRequest { // * `name` - The name of the long-running operation // * `done` - False if the operation is in progress, else true. // * `metadata.@type` - the type of metadata. For example, the type string - // for - // [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] - // is + // for [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata] is // `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. // * `metadata.` - any field in metadata.value. // * `error` - Error associated with the long-running operation. @@ -664,8 +644,7 @@ message ListDatabaseOperationsRequest { // `(metadata.name:restored_howl) AND` \ // `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ // `(error:*)` - Return operations where: - // * The operation's metadata type is - // [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. + // * The operation's metadata type is [RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata]. // * The database is restored from a backup. // * The backup name contains "backup_howl". // * The restored database's name contains "restored_howl". @@ -679,9 +658,8 @@ message ListDatabaseOperationsRequest { // If non-empty, `page_token` should contain a // [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token] - // from a previous - // [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] - // to the same `parent` and with the same `filter`. + // from a previous [ListDatabaseOperationsResponse][google.spanner.admin.database.v1.ListDatabaseOperationsResponse] to the + // same `parent` and with the same `filter`. string page_token = 4; } @@ -727,18 +705,17 @@ message RestoreDatabaseRequest { // Name of the backup from which to restore. Values are of the form // `projects//instances//backups/`. string backup = 3 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Backup" - }]; + type: "spanner.googleapis.com/Backup" + }]; } - // Optional. An encryption configuration describing the encryption type and - // key resources in Cloud KMS used to encrypt/decrypt the database to restore - // to. If this field is not specified, the restored database will use the same - // encryption configuration as the backup by default, namely - // [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] - // = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`. - RestoreDatabaseEncryptionConfig encryption_config = 4 - [(google.api.field_behavior) = OPTIONAL]; + // Optional. An encryption configuration describing the encryption type and key + // resources in Cloud KMS used to encrypt/decrypt the database to restore to. + // If this field is not specified, the restored database will use + // the same encryption configuration as the backup by default, namely + // [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] = + // `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`. + RestoreDatabaseEncryptionConfig encryption_config = 4 [(google.api.field_behavior) = OPTIONAL]; } // Encryption configuration for the restored database. @@ -749,8 +726,7 @@ message RestoreDatabaseEncryptionConfig { ENCRYPTION_TYPE_UNSPECIFIED = 0; // This is the default option when - // [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] - // is not specified. + // [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified. USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1; // Use Google default encryption. @@ -764,10 +740,10 @@ message RestoreDatabaseEncryptionConfig { // Required. The encryption type of the restored database. EncryptionType encryption_type = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The Cloud KMS key that will be used to encrypt/decrypt the - // restored database. This field should be set only when - // [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] - // is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form + // Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored + // database. This field should be set only when + // [encryption_type][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] is + // `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form // `projects//locations//keyRings//cryptoKeys/`. string kms_key_name = 2 [ (google.api.field_behavior) = OPTIONAL, @@ -782,15 +758,14 @@ message RestoreDatabaseEncryptionConfig { message RestoreDatabaseMetadata { // Name of the database being created and restored to. string name = 1 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; // The type of the restore source. RestoreSourceType source_type = 2; // Information about the source used to restore the database, as specified by - // `source` in - // [RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest]. + // `source` in [RestoreDatabaseRequest][google.spanner.admin.database.v1.RestoreDatabaseRequest]. oneof source_info { // Information about the backup used to restore the database. BackupInfo backup_info = 3; @@ -811,8 +786,7 @@ message RestoreDatabaseMetadata { // operation completed despite cancellation. On successful cancellation, // the operation is not deleted; instead, it becomes an operation with // an [Operation.error][google.longrunning.Operation.error] value with a - // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - // `Code.CANCELLED`. + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. google.protobuf.Timestamp cancel_time = 5; // If exists, the name of the long-running operation that will be used to @@ -822,10 +796,10 @@ message RestoreDatabaseMetadata { // `projects//instances//databases//operations/` // where the is the name of database being created and restored to. // The metadata type of the long-running operation is - // [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. - // This long-running operation will be automatically created by the system - // after the RestoreDatabase long-running operation completes successfully. - // This operation will not be created if the restore was not successful. + // [OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata]. This long-running operation will be + // automatically created by the system after the RestoreDatabase long-running + // operation completes successfully. This operation will not be created if the + // restore was not successful. string optimize_database_operation_name = 6; } @@ -836,8 +810,8 @@ message RestoreDatabaseMetadata { message OptimizeRestoredDatabaseMetadata { // Name of the restored database being optimized. string name = 1 [(google.api.resource_reference) = { - type: "spanner.googleapis.com/Database" - }]; + type: "spanner.googleapis.com/Database" + }]; // The progress of the post-restore optimizations. OperationProgress progress = 2; diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java index 320d165cf9..1c3c779002 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto +// source: google/spanner/v1/commit_response.proto package com.google.spanner.v1; @@ -119,14 +119,14 @@ private CommitResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto + 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.SpannerProto + return com.google.spanner.v1.CommitResponseProto .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.CommitResponse.class, @@ -232,14 +232,14 @@ private CommitStats( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto + 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.SpannerProto + return com.google.spanner.v1.CommitResponseProto .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.CommitResponse.CommitStats.class, @@ -445,14 +445,14 @@ public static final class Builder // @@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.SpannerProto + 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.SpannerProto + return com.google.spanner.v1.CommitResponseProto .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.CommitResponse.CommitStats.class, @@ -483,7 +483,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto + return com.google.spanner.v1.CommitResponseProto .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @@ -1005,14 +1005,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@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.SpannerProto + 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.SpannerProto + return com.google.spanner.v1.CommitResponseProto .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.CommitResponse.class, @@ -1053,7 +1053,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto + return com.google.spanner.v1.CommitResponseProto .internal_static_google_spanner_v1_CommitResponse_descriptor; } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java index 9ff076ff84..256983c2f7 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto +// source: google/spanner/v1/commit_response.proto package com.google.spanner.v1; 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 new file mode 100644 index 0000000000..bf45b64204 --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java @@ -0,0 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 + +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\036google/protobuf/du" + + "ration.proto\032\037google/protobuf/timestamp." + + "proto\032\034google/api/annotations.proto\"\262\001\n\016" + + "CommitResponse\0224\n\020commit_timestamp\030\001 \001(\013" + + "2\032.google.protobuf.Timestamp\022C\n\014commit_s" + + "tats\030\002 \001(\0132-.google.spanner.v1.CommitRes" + + "ponse.CommitStats\032%\n\013CommitStats\022\026\n\016muta" + + "tion_count\030\001 \001(\003B\271\001\n\025com.google.spanner." + + "v1B\023CommitResponseProtoP\001Z8google.golang" + + ".org/genproto/googleapis/spanner/v1;span" + + "ner\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\C" + + "loud\\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(), + com.google.api.AnnotationsProto.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.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java index 6d0d1f7926..50446f6802 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java @@ -367,8 +367,9 @@ public com.google.spanner.v1.RequestOptions.Priority getPriority() { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -397,8 +398,9 @@ public java.lang.String getRequestTag() { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -431,8 +433,9 @@ public com.google.protobuf.ByteString getRequestTagBytes() { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -462,8 +465,9 @@ public java.lang.String getTransactionTag() { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -931,8 +935,9 @@ public Builder clearPriority() { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -960,8 +965,9 @@ public java.lang.String getRequestTag() { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -989,8 +995,9 @@ public com.google.protobuf.ByteString getRequestTagBytes() { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -1017,8 +1024,9 @@ public Builder setRequestTag(java.lang.String value) { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -1041,8 +1049,9 @@ public Builder clearRequestTag() { * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -1073,8 +1082,9 @@ public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -1103,8 +1113,9 @@ public java.lang.String getTransactionTag() { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -1133,8 +1144,9 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -1162,8 +1174,9 @@ public Builder setTransactionTag(java.lang.String value) { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -1187,8 +1200,9 @@ public Builder clearTransactionTag() { * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java index b2bdcc4dcf..a0805252ac 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java @@ -58,8 +58,9 @@ public interface RequestOptionsOrBuilder * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -77,8 +78,9 @@ public interface RequestOptionsOrBuilder * that belongs to a transaction. * This field is ignored for requests where it's not applicable (e.g. * CommitRequest). - * `request_tag` must be a valid identifier of the form: - * `[a-zA-Z][a-zA-Z0-9_\-]` between 2 and 64 characters in length + * Legal characters for `request_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a request_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string request_tag = 2; @@ -98,8 +100,9 @@ public interface RequestOptionsOrBuilder * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; @@ -118,8 +121,9 @@ public interface RequestOptionsOrBuilder * to the same transaction. * If this request doesn’t belong to any transaction, transaction_tag will be * ignored. - * `transaction_tag` must be a valid identifier of the format: - * `[a-zA-Z][a-zA-Z0-9_\-]{0,49}` + * Legal characters for `transaction_tag` values are all printable characters + * (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 + * characters. Values that exceed this limit are truncated. * * * string transaction_tag = 3; 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 index 0d1175fb19..6db08efbb3 100644 --- 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 @@ -131,14 +131,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r 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_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; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_spanner_v1_RollbackRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -153,229 +145,225 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\037google/spanner/v1/spanner.proto\022\021googl" - + "e.spanner.v1\032\034google/api/annotations.pro" - + "to\032\027google/api/client.proto\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\032\036google/protobuf/duration.proto\032" - + "\033google/protobuf/empty.proto\032\034google/pro" - + "tobuf/struct.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\032\034go" - + "ogle/spanner/v1/keys.proto\032 google/spann" - + "er/v1/mutation.proto\032\"google/spanner/v1/" - + "result_set.proto\032#google/spanner/v1/tran" - + "saction.proto\032\034google/spanner/v1/type.pr" - + "oto\"~\n\024CreateSessionRequest\0229\n\010database\030" - + "\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Da" - + "tabase\022+\n\007session\030\002 \001(\0132\032.google.spanner" - + ".v1.Session\"\251\001\n\032BatchCreateSessionsReque" - + "st\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.go" - + "ogleapis.com/Database\0224\n\020session_templat" - + "e\030\002 \001(\0132\032.google.spanner.v1.Session\022\032\n\rs" - + "ession_count\030\003 \001(\005B\003\340A\002\"J\n\033BatchCreateSe" - + "ssionsResponse\022+\n\007session\030\001 \003(\0132\032.google" - + ".spanner.v1.Session\"\363\002\n\007Session\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(\0132&.google.span" - + "ner.v1.Session.LabelsEntry\0224\n\013create_tim" - + "e\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022B\n\031approximate_last_use_time\030\004 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\032-\n\013LabelsEn" - + "try\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\022Oprojec" - + "ts/{project}/instances/{instance}/databa" - + "ses/{database}/sessions/{session}\"I\n\021Get" + + "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\033google/protobuf/empty.proto\032\034g" + + "oogle/protobuf/struct.proto\032\037google/prot" + + "obuf/timestamp.proto\032\027google/rpc/status." + + "proto\032\034google/spanner/v1/keys.proto\032 goo" + + "gle/spanner/v1/mutation.proto\032\"google/sp" + + "anner/v1/result_set.proto\032#google/spanne" + + "r/v1/transaction.proto\032\034google/spanner/v" + + "1/type.proto\"~\n\024CreateSessionRequest\0229\n\010" + + "database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleap" + + "is.com/Database\022+\n\007session\030\002 \001(\0132\032.googl" + + "e.spanner.v1.Session\"\251\001\n\032BatchCreateSess" + + "ionsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037s" + + "panner.googleapis.com/Database\0224\n\020sessio" + + "n_template\030\002 \001(\0132\032.google.spanner.v1.Ses" + + "sion\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J\n\033Batc" + + "hCreateSessionsResponse\022+\n\007session\030\001 \003(\013" + + "2\032.google.spanner.v1.Session\"\363\002\n\007Session" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(\0132&.go" + + "ogle.spanner.v1.Session.LabelsEntry\0224\n\013c" + + "reate_time\030\003 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022B\n\031approximate_last_use_time\030\004" + + " \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:t\352Aq\n\036spanner.googleapis.com/Sessio" + + "n\022Oprojects/{project}/instances/{instanc" + + "e}/databases/{database}/sessions/{sessio" + + "n}\"I\n\021GetSessionRequest\0224\n\004name\030\001 \001(\tB&\340" + + "A\002\372A \n\036spanner.googleapis.com/Session\"\207\001" + + "\n\023ListSessionsRequest\0229\n\010database\030\001 \001(\tB" + + "\'\340A\002\372A!\n\037spanner.googleapis.com/Database" + + "\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\024ListSessionsResponse\022" + + ",\n\010sessions\030\001 \003(\0132\032.google.spanner.v1.Se" + + "ssion\022\027\n\017next_page_token\030\002 \001(\t\"L\n\024Delete" + "SessionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036sp" - + "anner.googleapis.com/Session\"\207\001\n\023ListSes" - + "sionsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037" - + "spanner.googleapis.com/Database\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\024ListSessionsResponse\022,\n\010sessio" - + "ns\030\001 \003(\0132\032.google.spanner.v1.Session\022\027\n\017" - + "next_page_token\030\002 \001(\t\"L\n\024DeleteSessionRe" - + "quest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spanner.goo" - + "gleapis.com/Session\"\334\001\n\016RequestOptions\022<" - + "\n\010priority\030\001 \001(\0162*.google.spanner.v1.Req" - + "uestOptions.Priority\022\023\n\013request_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\"\344\005\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(" - + "\tB&\340A\002\372A \n\036spanner.googleapis.com/Sessio" - + "n\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.google.protobuf.Struc" - + "t\022I\n\013param_types\030\005 \003(\01324.google.spanner." - + "v1.ExecuteSqlRequest.ParamTypesEntry\022\024\n\014" - + "resume_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162." + + "anner.googleapis.com/Session\"\334\001\n\016Request" + + "Options\022<\n\010priority\030\001 \001(\0162*.google.spann" + + "er.v1.RequestOptions.Priority\022\023\n\013request" + + "_tag\030\002 \001(\t\022\027\n\017transaction_tag\030\003 \001(\t\"^\n\010P" + + "riority\022\030\n\024PRIORITY_UNSPECIFIED\020\000\022\020\n\014PRI" + + "ORITY_LOW\020\001\022\023\n\017PRIORITY_MEDIUM\020\002\022\021\n\rPRIO" + + "RITY_HIGH\020\003\"\344\005\n\021ExecuteSqlRequest\0227\n\007ses" + + "sion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.c" + + "om/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.google.proto" + + "buf.Struct\022I\n\013param_types\030\005 \003(\01324.google" + + ".spanner.v1.ExecuteSqlRequest.ParamTypes" + + "Entry\022\024\n\014resume_token\030\006 \001(\014\022B\n\nquery_mod" + + "e\030\007 \001(\0162..google.spanner.v1.ExecuteSqlRe" + + "quest.QueryMode\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.spanner.v1.ExecuteSqlRequest.Que" - + "ryMode\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.s" - + "panner.v1.ExecuteSqlRequest.QueryOptions" - + "\022:\n\017request_options\030\013 \001(\0132!.google.spann" - + "er.v1.RequestOptions\032O\n\014QueryOptions\022\031\n\021" - + "optimizer_version\030\001 \001(\t\022$\n\034optimizer_sta" - + "tistics_package\030\002 \001(\t\032J\n\017ParamTypesEntry" - + "\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.sp" - + "anner.v1.Type:\0028\001\".\n\tQueryMode\022\n\n\006NORMAL" - + "\020\000\022\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002\"\233\004\n\026ExecuteBat" - + "chDmlRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036s" - + "panner.googleapis.com/Session\022@\n\013transac" - + "tion\030\002 \001(\0132&.google.spanner.v1.Transacti" - + "onSelectorB\003\340A\002\022L\n\nstatements\030\003 \003(\01323.go" - + "ogle.spanner.v1.ExecuteBatchDmlRequest.S" - + "tatementB\003\340A\002\022\022\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017req" - + "uest_options\030\005 \001(\0132!.google.spanner.v1.R" - + "equestOptions\032\347\001\n\tStatement\022\013\n\003sql\030\001 \001(\t" - + "\022\'\n\006params\030\002 \001(\0132\027.google.protobuf.Struc" - + "t\022X\n\013param_types\030\003 \003(\0132C.google.spanner." - + "v1.ExecuteBatchDmlRequest.Statement.Para" - + "mTypesEntry\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 " - + "\001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1.T" - + "ype:\0028\001\"p\n\027ExecuteBatchDmlResponse\0221\n\013re" - + "sult_sets\030\001 \003(\0132\034.google.spanner.v1.Resu" - + "ltSet\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Statu" - + "s\"H\n\020PartitionOptions\022\034\n\024partition_size_" - + "bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003\n\025" - + "PartitionQueryRequest\0227\n\007session\030\001 \001(\tB&" - + "\340A\002\372A \n\036spanner.googleapis.com/Session\022;" + + "ryOptions\022:\n\017request_options\030\013 \001(\0132!.goo" + + "gle.spanner.v1.RequestOptions\032O\n\014QueryOp" + + "tions\022\031\n\021optimizer_version\030\001 \001(\t\022$\n\034opti" + + "mizer_statistics_package\030\002 \001(\t\032J\n\017ParamT" + + "ypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027." + + "google.spanner.v1.Type:\0028\001\".\n\tQueryMode\022" + + "\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n\007PROFILE\020\002\"\233\004\n\026E" + + "xecuteBatchDmlRequest\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\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n" - + "\006params\030\004 \001(\0132\027.google.protobuf.Struct\022M" - + "\n\013param_types\030\005 \003(\01328.google.spanner.v1." - + "PartitionQueryRequest.ParamTypesEntry\022>\n" - + "\021partition_options\030\006 \001(\0132#.google.spanne" - + "r.v1.PartitionOptions\032J\n\017ParamTypesEntry" - + "\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.sp" - + "anner.v1.Type:\0028\001\"\261\002\n\024PartitionReadReque" + + "TransactionSelectorB\003\340A\002\022L\n\nstatements\030\003" + + " \003(\01323.google.spanner.v1.ExecuteBatchDml" + + "Request.StatementB\003\340A\002\022\022\n\005seqno\030\004 \001(\003B\003\340" + + "A\002\022:\n\017request_options\030\005 \001(\0132!.google.spa" + + "nner.v1.RequestOptions\032\347\001\n\tStatement\022\013\n\003" + + "sql\030\001 \001(\t\022\'\n\006params\030\002 \001(\0132\027.google.proto" + + "buf.Struct\022X\n\013param_types\030\003 \003(\0132C.google" + + ".spanner.v1.ExecuteBatchDmlRequest.State" + + "ment.ParamTypesEntry\032J\n\017ParamTypesEntry\022" + + "\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.spa" + + "nner.v1.Type:\0028\001\"p\n\027ExecuteBatchDmlRespo" + + "nse\0221\n\013result_sets\030\001 \003(\0132\034.google.spanne" + + "r.v1.ResultSet\022\"\n\006status\030\002 \001(\0132\022.google." + + "rpc.Status\"H\n\020PartitionOptions\022\034\n\024partit" + + "ion_size_bytes\030\001 \001(\003\022\026\n\016max_partitions\030\002" + + " \001(\003\"\243\003\n\025PartitionQueryRequest\0227\n\007sessio" + + "n\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.com/" + + "Session\022;\n\013transaction\030\002 \001(\0132&.google.sp" + + "anner.v1.TransactionSelector\022\020\n\003sql\030\003 \001(" + + "\tB\003\340A\002\022\'\n\006params\030\004 \001(\0132\027.google.protobuf" + + ".Struct\022M\n\013param_types\030\005 \003(\01328.google.sp" + + "anner.v1.PartitionQueryRequest.ParamType" + + "sEntry\022>\n\021partition_options\030\006 \001(\0132#.goog" + + "le.spanner.v1.PartitionOptions\032J\n\017ParamT" + + "ypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027." + + "google.spanner.v1.Type:\0028\001\"\261\002\n\024Partition" + + "ReadRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + + "anner.googleapis.com/Session\022;\n\013transact" + + "ion\030\002 \001(\0132&.google.spanner.v1.Transactio" + + "nSelector\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\021partit" + + "ion_options\030\t \001(\0132#.google.spanner.v1.Pa" + + "rtitionOptions\"$\n\tPartition\022\027\n\017partition" + + "_token\030\001 \001(\014\"z\n\021PartitionResponse\0220\n\npar" + + "titions\030\001 \003(\0132\034.google.spanner.v1.Partit" + + "ion\0223\n\013transaction\030\002 \001(\0132\036.google.spanne" + + "r.v1.Transaction\"\347\002\n\013ReadRequest\0227\n\007sess" + + "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" + + "m/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\024\n\007columns\030\005 \003" + + "(\tB\003\340A\002\022/\n\007key_set\030\006 \001(\0132\031.google.spanne" + + "r.v1.KeySetB\003\340A\002\022\r\n\005limit\030\010 \001(\003\022\024\n\014resum" + + "e_token\030\t \001(\014\022\027\n\017partition_token\030\n \001(\014\022:" + + "\n\017request_options\030\013 \001(\0132!.google.spanner" + + ".v1.RequestOptions\"\313\001\n\027BeginTransactionR" + + "equest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner" + + ".googleapis.com/Session\022;\n\007options\030\002 \001(\013" + + "2%.google.spanner.v1.TransactionOptionsB" + + "\003\340A\002\022:\n\017request_options\030\003 \001(\0132!.google.s" + + "panner.v1.RequestOptions\"\303\002\n\rCommitReque" + "st\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.goo" - + "gleapis.com/Session\022;\n\013transaction\030\002 \001(\013" - + "2&.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\007c" - + "olumns\030\005 \003(\t\022/\n\007key_set\030\006 \001(\0132\031.google.s" - + "panner.v1.KeySetB\003\340A\002\022>\n\021partition_optio" - + "ns\030\t \001(\0132#.google.spanner.v1.PartitionOp" - + "tions\"$\n\tPartition\022\027\n\017partition_token\030\001 " - + "\001(\014\"z\n\021PartitionResponse\0220\n\npartitions\030\001" - + " \003(\0132\034.google.spanner.v1.Partition\0223\n\013tr" - + "ansaction\030\002 \001(\0132\036.google.spanner.v1.Tran" - + "saction\"\347\002\n\013ReadRequest\0227\n\007session\030\001 \001(\t" - + "B&\340A\002\372A \n\036spanner.googleapis.com/Session" - + "\022;\n\013transaction\030\002 \001(\0132&.google.spanner.v" - + "1.TransactionSelector\022\022\n\005table\030\003 \001(\tB\003\340A" - + "\002\022\r\n\005index\030\004 \001(\t\022\024\n\007columns\030\005 \003(\tB\003\340A\002\022/" - + "\n\007key_set\030\006 \001(\0132\031.google.spanner.v1.KeyS" - + "etB\003\340A\002\022\r\n\005limit\030\010 \001(\003\022\024\n\014resume_token\030\t" - + " \001(\014\022\027\n\017partition_token\030\n \001(\014\022:\n\017request" - + "_options\030\013 \001(\0132!.google.spanner.v1.Reque" - + "stOptions\"\313\001\n\027BeginTransactionRequest\0227\n" - + "\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleap" - + "is.com/Session\022;\n\007options\030\002 \001(\0132%.google" - + ".spanner.v1.TransactionOptionsB\003\340A\002\022:\n\017r" - + "equest_options\030\003 \001(\0132!.google.spanner.v1" - + ".RequestOptions\"\303\002\n\rCommitRequest\0227\n\007ses" - + "sion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.c" - + "om/Session\022\030\n\016transaction_id\030\002 \001(\014H\000\022G\n\026" - + "single_use_transaction\030\003 \001(\0132%.google.sp" - + "anner.v1.TransactionOptionsH\000\022.\n\tmutatio" - + "ns\030\004 \003(\0132\033.google.spanner.v1.Mutation\022\033\n" - + "\023return_commit_stats\030\005 \001(\010\022:\n\017request_op" - + "tions\030\006 \001(\0132!.google.spanner.v1.RequestO" - + "ptionsB\r\n\013transaction\"\262\001\n\016CommitResponse" - + "\0224\n\020commit_timestamp\030\001 \001(\0132\032.google.prot" - + "obuf.Timestamp\022C\n\014commit_stats\030\002 \001(\0132-.g" - + "oogle.spanner.v1.CommitResponse.CommitSt" - + "ats\032%\n\013CommitStats\022\026\n\016mutation_count\030\001 \001" - + "(\003\"g\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&" - + "\340A\002\372A \n\036spanner.googleapis.com/Session\022\033" - + "\n\016transaction_id\030\002 \001(\014B\003\340A\0022\300\026\n\007Spanner\022" - + "\246\001\n\rCreateSession\022\'.google.spanner.v1.Cr" - + "eateSessionRequest\032\032.google.spanner.v1.S" - + "ession\"P\202\323\344\223\002?\":/v1/{database=projects/*" - + "/instances/*/databases/*}/sessions:\001*\332A\010" - + "database\022\340\001\n\023BatchCreateSessions\022-.googl" - + "e.spanner.v1.BatchCreateSessionsRequest\032" - + "..google.spanner.v1.BatchCreateSessionsR" - + "esponse\"j\202\323\344\223\002K\"F/v1/{database=projects/" - + "*/instances/*/databases/*}/sessions:batc" - + "hCreate:\001*\332A\026database,session_count\022\227\001\n\n" - + "GetSession\022$.google.spanner.v1.GetSessio" - + "nRequest\032\032.google.spanner.v1.Session\"G\202\323" - + "\344\223\002:\0228/v1/{name=projects/*/instances/*/d" - + "atabases/*/sessions/*}\332A\004name\022\256\001\n\014ListSe" - + "ssions\022&.google.spanner.v1.ListSessionsR" - + "equest\032\'.google.spanner.v1.ListSessionsR" - + "esponse\"M\202\323\344\223\002<\022:/v1/{database=projects/" - + "*/instances/*/databases/*}/sessions\332A\010da" - + "tabase\022\231\001\n\rDeleteSession\022\'.google.spanne" - + "r.v1.DeleteSessionRequest\032\026.google.proto" - + "buf.Empty\"G\202\323\344\223\002:*8/v1/{name=projects/*/" - + "instances/*/databases/*/sessions/*}\332A\004na" - + "me\022\243\001\n\nExecuteSql\022$.google.spanner.v1.Ex" - + "ecuteSqlRequest\032\034.google.spanner.v1.Resu" - + "ltSet\"Q\202\323\344\223\002K\"F/v1/{session=projects/*/i" - + "nstances/*/databases/*/sessions/*}:execu" - + "teSql:\001*\022\276\001\n\023ExecuteStreamingSql\022$.googl" - + "e.spanner.v1.ExecuteSqlRequest\032#.google." - + "spanner.v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1" - + "/{session=projects/*/instances/*/databas" - + "es/*/sessions/*}:executeStreamingSql:\001*0" - + "\001\022\300\001\n\017ExecuteBatchDml\022).google.spanner.v" - + "1.ExecuteBatchDmlRequest\032*.google.spanne" - + "r.v1.ExecuteBatchDmlResponse\"V\202\323\344\223\002P\"K/v" - + "1/{session=projects/*/instances/*/databa" - + "ses/*/sessions/*}:executeBatchDml:\001*\022\221\001\n" - + "\004Read\022\036.google.spanner.v1.ReadRequest\032\034." - + "google.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1" - + "/{session=projects/*/instances/*/databas" - + "es/*/sessions/*}:read:\001*\022\254\001\n\rStreamingRe" - + "ad\022\036.google.spanner.v1.ReadRequest\032#.goo" - + "gle.spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"" - + "I/v1/{session=projects/*/instances/*/dat" - + "abases/*/sessions/*}:streamingRead:\001*0\001\022" - + "\311\001\n\020BeginTransaction\022*.google.spanner.v1" - + ".BeginTransactionRequest\032\036.google.spanne" - + "r.v1.Transaction\"i\202\323\344\223\002Q\"L/v1/{session=p" + + "gleapis.com/Session\022\030\n\016transaction_id\030\002 " + + "\001(\014H\000\022G\n\026single_use_transaction\030\003 \001(\0132%." + + "google.spanner.v1.TransactionOptionsH\000\022." + + "\n\tmutations\030\004 \003(\0132\033.google.spanner.v1.Mu" + + "tation\022\033\n\023return_commit_stats\030\005 \001(\010\022:\n\017r" + + "equest_options\030\006 \001(\0132!.google.spanner.v1" + + ".RequestOptionsB\r\n\013transaction\"g\n\017Rollba" + + "ckRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036span" + + "ner.googleapis.com/Session\022\033\n\016transactio" + + "n_id\030\002 \001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n\rCreateSe" + + "ssion\022\'.google.spanner.v1.CreateSessionR" + + "equest\032\032.google.spanner.v1.Session\"P\202\323\344\223" + + "\002?\":/v1/{database=projects/*/instances/*" + + "/databases/*}/sessions:\001*\332A\010database\022\340\001\n" + + "\023BatchCreateSessions\022-.google.spanner.v1" + + ".BatchCreateSessionsRequest\032..google.spa" + + "nner.v1.BatchCreateSessionsResponse\"j\202\323\344" + + "\223\002K\"F/v1/{database=projects/*/instances/" + + "*/databases/*}/sessions:batchCreate:\001*\332A" + + "\026database,session_count\022\227\001\n\nGetSession\022$" + + ".google.spanner.v1.GetSessionRequest\032\032.g" + + "oogle.spanner.v1.Session\"G\202\323\344\223\002:\0228/v1/{n" + + "ame=projects/*/instances/*/databases/*/s" + + "essions/*}\332A\004name\022\256\001\n\014ListSessions\022&.goo" + + "gle.spanner.v1.ListSessionsRequest\032\'.goo" + + "gle.spanner.v1.ListSessionsResponse\"M\202\323\344" + + "\223\002<\022:/v1/{database=projects/*/instances/" + + "*/databases/*}/sessions\332A\010database\022\231\001\n\rD" + + "eleteSession\022\'.google.spanner.v1.DeleteS" + + "essionRequest\032\026.google.protobuf.Empty\"G\202" + + "\323\344\223\002:*8/v1/{name=projects/*/instances/*/" + + "databases/*/sessions/*}\332A\004name\022\243\001\n\nExecu" + + "teSql\022$.google.spanner.v1.ExecuteSqlRequ" + + "est\032\034.google.spanner.v1.ResultSet\"Q\202\323\344\223\002" + + "K\"F/v1/{session=projects/*/instances/*/d" + + "atabases/*/sessions/*}:executeSql:\001*\022\276\001\n" + + "\023ExecuteStreamingSql\022$.google.spanner.v1" + + ".ExecuteSqlRequest\032#.google.spanner.v1.P" + + "artialResultSet\"Z\202\323\344\223\002T\"O/v1/{session=pr" + + "ojects/*/instances/*/databases/*/session" + + "s/*}:executeStreamingSql:\001*0\001\022\300\001\n\017Execut" + + "eBatchDml\022).google.spanner.v1.ExecuteBat" + + "chDmlRequest\032*.google.spanner.v1.Execute" + + "BatchDmlResponse\"V\202\323\344\223\002P\"K/v1/{session=p" + "rojects/*/instances/*/databases/*/sessio" - + "ns/*}:beginTransaction:\001*\332A\017session,opti" - + "ons\022\353\001\n\006Commit\022 .google.spanner.v1.Commi" - + "tRequest\032!.google.spanner.v1.CommitRespo" - + "nse\"\233\001\202\323\344\223\002G\"B/v1/{session=projects/*/in" - + "stances/*/databases/*/sessions/*}:commit" - + ":\001*\332A session,transaction_id,mutations\332A" - + "(session,single_use_transaction,mutation" - + "s\022\260\001\n\010Rollback\022\".google.spanner.v1.Rollb" - + "ackRequest\032\026.google.protobuf.Empty\"h\202\323\344\223" - + "\002I\"D/v1/{session=projects/*/instances/*/" - + "databases/*/sessions/*}:rollback:\001*\332A\026se" - + "ssion,transaction_id\022\267\001\n\016PartitionQuery\022" - + "(.google.spanner.v1.PartitionQueryReques" - + "t\032$.google.spanner.v1.PartitionResponse\"" - + "U\202\323\344\223\002O\"J/v1/{session=projects/*/instanc" - + "es/*/databases/*/sessions/*}:partitionQu" - + "ery:\001*\022\264\001\n\rPartitionRead\022\'.google.spanne" - + "r.v1.PartitionReadRequest\032$.google.spann" - + "er.v1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{se" - + "ssion=projects/*/instances/*/databases/*" - + "/sessions/*}:partitionRead:\001*\032w\312A\026spanne" - + "r.googleapis.com\322A[https://www.googleapi" - + "s.com/auth/cloud-platform,https://www.go" - + "ogleapis.com/auth/spanner.dataB\224\002\n\025com.g" - + "oogle.spanner.v1B\014SpannerProtoP\001Z8google" - + ".golang.org/genproto/googleapis/spanner/" - + "v1;spanner\252\002\027Google.Cloud.Spanner.V1\312\002\027G" - + "oogle\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::" - + "Spanner::V1\352A_\n\037spanner.googleapis.com/D" - + "atabase\022