diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java index bde3b968bf..f69d03c9b7 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -33,8 +33,6 @@ import com.google.bigtable.admin.v2.CheckConsistencyRequest; import com.google.bigtable.admin.v2.CheckConsistencyResponse; import com.google.bigtable.admin.v2.ClusterName; -import com.google.bigtable.admin.v2.CopyBackupMetadata; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupMetadata; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; @@ -82,95 +80,13 @@ import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; -import com.google.protobuf.Timestamp; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. - * - *

Provides access to the table schemas only, not the data stored within the tables. - * - *

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

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
- *     BaseBigtableTableAdminClient.create()) {
- *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
- *   String tableId = "tableId-1552905847";
- *   Table table = Table.newBuilder().build();
- *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
- * }
- * }
- * - *

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

The surface of this class includes several types of Java methods for each of the API's - * methods: - * - *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been - * converted into function parameters. It may be the case that not all fields are available as - * parameters, and not every API method will have a flattened method entry point. - *
  2. A "request object" method. This type of method only takes one parameter, a request object, - * which must be constructed before the call. Not every API method will have a request object - * method. - *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API - * callable object, which can be used to initiate calls to the service. - *
- * - *

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

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

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

To customize credentials: - * - *

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

To customize the endpoint: - * - *

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

Please refer to the GitHub repository's samples for more quickstart code snippets. - */ +/** For internal use only. */ @Generated("by gapic-generator") @InternalApi public class BaseBigtableTableAdminClient implements BackgroundResource { @@ -660,8 +576,8 @@ public final OperationFuture createTable * } */ public final OperationCallable< - CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> - createTableFromSnapshotOperationCallable() { + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationCallable() { return stub.createTableFromSnapshotOperationCallable(); } @@ -700,7 +616,7 @@ public final OperationFuture createTable * } */ public final UnaryCallable - createTableFromSnapshotCallable() { + createTableFromSnapshotCallable() { return stub.createTableFromSnapshotCallable(); } @@ -1081,7 +997,7 @@ public final OperationFuture updateTableAsync( * } */ public final OperationCallable - updateTableOperationCallable() { + updateTableOperationCallable() { return stub.updateTableOperationCallable(); } @@ -1343,7 +1259,7 @@ public final OperationFuture undeleteTableAsync( * } */ public final OperationCallable - undeleteTableOperationCallable() { + undeleteTableOperationCallable() { return stub.undeleteTableOperationCallable(); } @@ -1705,7 +1621,7 @@ public final GenerateConsistencyTokenResponse generateConsistencyToken( * } */ public final UnaryCallable - generateConsistencyTokenCallable() { + generateConsistencyTokenCallable() { return stub.generateConsistencyTokenCallable(); } @@ -1842,7 +1758,7 @@ public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest r * } */ public final UnaryCallable - checkConsistencyCallable() { + checkConsistencyCallable() { return stub.checkConsistencyCallable(); } @@ -2134,7 +2050,7 @@ public final OperationFuture snapshotTableAsync * } */ public final OperationCallable - snapshotTableOperationCallable() { + snapshotTableOperationCallable() { return stub.snapshotTableOperationCallable(); } @@ -2465,7 +2381,7 @@ public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest reque * } */ public final UnaryCallable - listSnapshotsPagedCallable() { + listSnapshotsPagedCallable() { return stub.listSnapshotsPagedCallable(); } @@ -2826,7 +2742,7 @@ public final OperationFuture createBackupAsync( * } */ public final OperationCallable - createBackupOperationCallable() { + createBackupOperationCallable() { return stub.createBackupOperationCallable(); } @@ -3326,7 +3242,7 @@ public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { * } */ public final UnaryCallable - listBackupsPagedCallable() { + listBackupsPagedCallable() { return stub.listBackupsPagedCallable(); } @@ -3442,7 +3358,7 @@ public final OperationFuture restoreTableAsync( * } */ public final OperationCallable - restoreTableOperationCallable() { + restoreTableOperationCallable() { return stub.restoreTableOperationCallable(); } @@ -3484,342 +3400,8 @@ public final UnaryCallable restoreTableCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   String backupId = "backupId2121930365";
-   *   BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
-   *   Timestamp expireTime = Timestamp.newBuilder().build();
-   *   Backup response =
-   *       baseBigtableTableAdminClient
-   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
-   *           .get();
-   * }
-   * }
- * - * @param parent Required. The name of the destination cluster that will contain the backup copy. - * The cluster must already exist. Values are of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are - * combined as `{parent}/backups/{backup_id}` to create the full backup name, of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This - * string must be between 1 and 50 characters in length and match the regex - * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - * @param sourceBackup Required. The source backup to be copied from. The source backup needs to - * be in READY state for it to be copied. Copying a copied backup is not allowed. Once - * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration - * until CopyBackup is finished. Values are of the form: - * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. - * @param expireTime Required. Required. The expiration time of the copied backup with microsecond - * granularity that must be at least 6 hours and at most 30 days from the time the request is - * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free - * the resources used by the backup. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture copyBackupAsync( - ClusterName parent, String backupId, BackupName sourceBackup, Timestamp expireTime) { - CopyBackupRequest request = - CopyBackupRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .setBackupId(backupId) - .setSourceBackup(sourceBackup == null ? null : sourceBackup.toString()) - .setExpireTime(expireTime) - .build(); - return copyBackupAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   String backupId = "backupId2121930365";
-   *   String sourceBackup =
-   *       BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
-   *   Timestamp expireTime = Timestamp.newBuilder().build();
-   *   Backup response =
-   *       baseBigtableTableAdminClient
-   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
-   *           .get();
-   * }
-   * }
- * - * @param parent Required. The name of the destination cluster that will contain the backup copy. - * The cluster must already exist. Values are of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are - * combined as `{parent}/backups/{backup_id}` to create the full backup name, of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This - * string must be between 1 and 50 characters in length and match the regex - * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - * @param sourceBackup Required. The source backup to be copied from. The source backup needs to - * be in READY state for it to be copied. Copying a copied backup is not allowed. Once - * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration - * until CopyBackup is finished. Values are of the form: - * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. - * @param expireTime Required. Required. The expiration time of the copied backup with microsecond - * granularity that must be at least 6 hours and at most 30 days from the time the request is - * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free - * the resources used by the backup. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture copyBackupAsync( - ClusterName parent, String backupId, String sourceBackup, Timestamp expireTime) { - CopyBackupRequest request = - CopyBackupRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .setBackupId(backupId) - .setSourceBackup(sourceBackup) - .setExpireTime(expireTime) - .build(); - return copyBackupAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   String backupId = "backupId2121930365";
-   *   BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
-   *   Timestamp expireTime = Timestamp.newBuilder().build();
-   *   Backup response =
-   *       baseBigtableTableAdminClient
-   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
-   *           .get();
-   * }
-   * }
- * - * @param parent Required. The name of the destination cluster that will contain the backup copy. - * The cluster must already exist. Values are of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are - * combined as `{parent}/backups/{backup_id}` to create the full backup name, of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This - * string must be between 1 and 50 characters in length and match the regex - * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - * @param sourceBackup Required. The source backup to be copied from. The source backup needs to - * be in READY state for it to be copied. Copying a copied backup is not allowed. Once - * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration - * until CopyBackup is finished. Values are of the form: - * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. - * @param expireTime Required. Required. The expiration time of the copied backup with microsecond - * granularity that must be at least 6 hours and at most 30 days from the time the request is - * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free - * the resources used by the backup. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture copyBackupAsync( - String parent, String backupId, BackupName sourceBackup, Timestamp expireTime) { - CopyBackupRequest request = - CopyBackupRequest.newBuilder() - .setParent(parent) - .setBackupId(backupId) - .setSourceBackup(sourceBackup == null ? null : sourceBackup.toString()) - .setExpireTime(expireTime) - .build(); - return copyBackupAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   String backupId = "backupId2121930365";
-   *   String sourceBackup =
-   *       BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
-   *   Timestamp expireTime = Timestamp.newBuilder().build();
-   *   Backup response =
-   *       baseBigtableTableAdminClient
-   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
-   *           .get();
-   * }
-   * }
- * - * @param parent Required. The name of the destination cluster that will contain the backup copy. - * The cluster must already exist. Values are of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are - * combined as `{parent}/backups/{backup_id}` to create the full backup name, of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This - * string must be between 1 and 50 characters in length and match the regex - * `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - * @param sourceBackup Required. The source backup to be copied from. The source backup needs to - * be in READY state for it to be copied. Copying a copied backup is not allowed. Once - * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration - * until CopyBackup is finished. Values are of the form: - * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. - * @param expireTime Required. Required. The expiration time of the copied backup with microsecond - * granularity that must be at least 6 hours and at most 30 days from the time the request is - * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free - * the resources used by the backup. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture copyBackupAsync( - String parent, String backupId, String sourceBackup, Timestamp expireTime) { - CopyBackupRequest request = - CopyBackupRequest.newBuilder() - .setParent(parent) - .setBackupId(backupId) - .setSourceBackup(sourceBackup) - .setExpireTime(expireTime) - .build(); - return copyBackupAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CopyBackupRequest request =
-   *       CopyBackupRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setBackupId("backupId2121930365")
-   *           .setSourceBackup(
-   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .setExpireTime(Timestamp.newBuilder().build())
-   *           .build();
-   *   Backup response = baseBigtableTableAdminClient.copyBackupAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture copyBackupAsync( - CopyBackupRequest request) { - return copyBackupOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CopyBackupRequest request =
-   *       CopyBackupRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setBackupId("backupId2121930365")
-   *           .setSourceBackup(
-   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .setExpireTime(Timestamp.newBuilder().build())
-   *           .build();
-   *   OperationFuture future =
-   *       baseBigtableTableAdminClient.copyBackupOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Backup response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - copyBackupOperationCallable() { - return stub.copyBackupOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the - * destination instance and project. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CopyBackupRequest request =
-   *       CopyBackupRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setBackupId("backupId2121930365")
-   *           .setSourceBackup(
-   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .setExpireTime(Timestamp.newBuilder().build())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.copyBackupCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable copyBackupCallable() { - return stub.copyBackupCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets the access control policy for a Table resource. Returns an empty policy if the resource - * exists but does not have a policy set. + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. * *

Sample code: * @@ -3850,8 +3432,8 @@ public final Policy getIamPolicy(ResourceName resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a Table resource. Returns an empty policy if the resource - * exists but does not have a policy set. + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. * *

Sample code: * @@ -3879,8 +3461,8 @@ public final Policy getIamPolicy(String resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a Table resource. Returns an empty policy if the resource - * exists but does not have a policy set. + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. * *

Sample code: * @@ -3911,8 +3493,8 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a Table resource. Returns an empty policy if the resource - * exists but does not have a policy set. + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. * *

Sample code: * @@ -3943,7 +3525,7 @@ public final UnaryCallable getIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy on a Table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -3979,7 +3561,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy on a Table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -4012,7 +3594,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy on a Table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -4029,6 +3611,7 @@ public final Policy setIamPolicy(String resource, Policy policy) { * .setResource( * BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) * .setPolicy(Policy.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); * Policy response = baseBigtableTableAdminClient.setIamPolicy(request); * } @@ -4043,7 +3626,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy on a Table resource. Replaces any existing policy. + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. * *

Sample code: * @@ -4060,6 +3643,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * .setResource( * BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) * .setPolicy(Policy.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); * ApiFuture future = * baseBigtableTableAdminClient.setIamPolicyCallable().futureCall(request); @@ -4074,7 +3658,7 @@ public final UnaryCallable setIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns permissions that the caller has on the specified table resource. + * Returns permissions that the caller has on the specified Table or Backup resource. * *

Sample code: * @@ -4112,7 +3696,7 @@ public final TestIamPermissionsResponse testIamPermissions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns permissions that the caller has on the specified table resource. + * Returns permissions that the caller has on the specified Table or Backup resource. * *

Sample code: * @@ -4150,7 +3734,7 @@ public final TestIamPermissionsResponse testIamPermissions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns permissions that the caller has on the specified table resource. + * Returns permissions that the caller has on the specified Table or Backup resource. * *

Sample code: * @@ -4182,7 +3766,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns permissions that the caller has on the specified table resource. + * Returns permissions that the caller has on the specified Table or Backup resource. * *

Sample code: * @@ -4208,7 +3792,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * } */ public final UnaryCallable - testIamPermissionsCallable() { + testIamPermissionsCallable() { return stub.testIamPermissionsCallable(); } @@ -4244,11 +3828,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListTablesPagedResponse extends AbstractPagedListResponse< - ListTablesRequest, - ListTablesResponse, - Table, - ListTablesPage, - ListTablesFixedSizeCollection> { + ListTablesRequest, + ListTablesResponse, + Table, + ListTablesPage, + ListTablesFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4294,11 +3878,11 @@ public ApiFuture createPageAsync( public static class ListTablesFixedSizeCollection extends AbstractFixedSizeCollection< - ListTablesRequest, - ListTablesResponse, - Table, - ListTablesPage, - ListTablesFixedSizeCollection> { + ListTablesRequest, + ListTablesResponse, + Table, + ListTablesPage, + ListTablesFixedSizeCollection> { private ListTablesFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -4317,11 +3901,11 @@ protected ListTablesFixedSizeCollection createCollection( public static class ListSnapshotsPagedResponse extends AbstractPagedListResponse< - ListSnapshotsRequest, - ListSnapshotsResponse, - Snapshot, - ListSnapshotsPage, - ListSnapshotsFixedSizeCollection> { + ListSnapshotsRequest, + ListSnapshotsResponse, + Snapshot, + ListSnapshotsPage, + ListSnapshotsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4341,7 +3925,7 @@ private ListSnapshotsPagedResponse(ListSnapshotsPage page) { public static class ListSnapshotsPage extends AbstractPage< - ListSnapshotsRequest, ListSnapshotsResponse, Snapshot, ListSnapshotsPage> { + ListSnapshotsRequest, ListSnapshotsResponse, Snapshot, ListSnapshotsPage> { private ListSnapshotsPage( PageContext context, @@ -4370,11 +3954,11 @@ public ApiFuture createPageAsync( public static class ListSnapshotsFixedSizeCollection extends AbstractFixedSizeCollection< - ListSnapshotsRequest, - ListSnapshotsResponse, - Snapshot, - ListSnapshotsPage, - ListSnapshotsFixedSizeCollection> { + ListSnapshotsRequest, + ListSnapshotsResponse, + Snapshot, + ListSnapshotsPage, + ListSnapshotsFixedSizeCollection> { private ListSnapshotsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); @@ -4393,11 +3977,11 @@ protected ListSnapshotsFixedSizeCollection createCollection( public static class ListBackupsPagedResponse extends AbstractPagedListResponse< - ListBackupsRequest, - ListBackupsResponse, - Backup, - ListBackupsPage, - ListBackupsFixedSizeCollection> { + ListBackupsRequest, + ListBackupsResponse, + Backup, + ListBackupsPage, + ListBackupsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4443,11 +4027,11 @@ public ApiFuture createPageAsync( public static class ListBackupsFixedSizeCollection extends AbstractFixedSizeCollection< - ListBackupsRequest, - ListBackupsResponse, - Backup, - ListBackupsPage, - ListBackupsFixedSizeCollection> { + ListBackupsRequest, + ListBackupsResponse, + Backup, + ListBackupsPage, + ListBackupsFixedSizeCollection> { private ListBackupsFixedSizeCollection(List pages, int collectionSize) { super(pages, collectionSize); diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java index 6f08c1749f..7f353a0d68 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java @@ -36,8 +36,6 @@ import com.google.bigtable.admin.v2.Backup; import com.google.bigtable.admin.v2.CheckConsistencyRequest; import com.google.bigtable.admin.v2.CheckConsistencyResponse; -import com.google.bigtable.admin.v2.CopyBackupMetadata; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupMetadata; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; @@ -83,43 +81,7 @@ import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link BaseBigtableTableAdminClient}. - * - *

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

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

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

For example, to set the total timeout of createTable to 30 seconds: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * BaseBigtableTableAdminSettings.Builder baseBigtableTableAdminSettingsBuilder =
- *     BaseBigtableTableAdminSettings.newBuilder();
- * baseBigtableTableAdminSettingsBuilder
- *     .createTableSettings()
- *     .setRetrySettings(
- *         baseBigtableTableAdminSettingsBuilder
- *             .createTableSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * BaseBigtableTableAdminSettings baseBigtableTableAdminSettings =
- *     baseBigtableTableAdminSettingsBuilder.build();
- * }
- */ +/** For internal use only. */ @Generated("by gapic-generator") @InternalApi public class BaseBigtableTableAdminSettings extends ClientSettings { @@ -273,17 +235,6 @@ public UnaryCallSettings restoreTableSettings() return ((BigtableTableAdminStubSettings) getStubSettings()).restoreTableOperationSettings(); } - /** Returns the object with the settings used for calls to copyBackup. */ - public UnaryCallSettings copyBackupSettings() { - return ((BigtableTableAdminStubSettings) getStubSettings()).copyBackupSettings(); - } - - /** Returns the object with the settings used for calls to copyBackup. */ - public OperationCallSettings - copyBackupOperationSettings() { - return ((BigtableTableAdminStubSettings) getStubSettings()).copyBackupOperationSettings(); - } - /** Returns the object with the settings used for calls to getIamPolicy. */ public UnaryCallSettings getIamPolicySettings() { return ((BigtableTableAdminStubSettings) getStubSettings()).getIamPolicySettings(); @@ -550,17 +501,6 @@ public UnaryCallSettings.Builder restoreTableSet return getStubSettingsBuilder().restoreTableOperationSettings(); } - /** Returns the builder for the settings used for calls to copyBackup. */ - public UnaryCallSettings.Builder copyBackupSettings() { - return getStubSettingsBuilder().copyBackupSettings(); - } - - /** Returns the builder for the settings used for calls to copyBackup. */ - public OperationCallSettings.Builder - copyBackupOperationSettings() { - return getStubSettingsBuilder().copyBackupOperationSettings(); - } - /** Returns the builder for the settings used for calls to getIamPolicy. */ public UnaryCallSettings.Builder getIamPolicySettings() { return getStubSettingsBuilder().getIamPolicySettings(); diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java index b29e1d03db..5f4bcd05a6 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java @@ -27,8 +27,6 @@ import com.google.bigtable.admin.v2.Backup; import com.google.bigtable.admin.v2.CheckConsistencyRequest; import com.google.bigtable.admin.v2.CheckConsistencyResponse; -import com.google.bigtable.admin.v2.CopyBackupMetadata; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupMetadata; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; @@ -72,11 +70,7 @@ import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Base stub class for the BigtableTableAdmin service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ +/** For internal use only. */ @Generated("by gapic-generator") @InternalApi public abstract class BigtableTableAdminStub implements BackgroundResource { @@ -216,15 +210,6 @@ public UnaryCallable restoreTableCallable() { throw new UnsupportedOperationException("Not implemented: restoreTableCallable()"); } - public OperationCallable - copyBackupOperationCallable() { - throw new UnsupportedOperationException("Not implemented: copyBackupOperationCallable()"); - } - - public UnaryCallable copyBackupCallable() { - throw new UnsupportedOperationException("Not implemented: copyBackupCallable()"); - } - public UnaryCallable getIamPolicyCallable() { throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); } diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java index 802774b593..ede9ad10c9 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java @@ -23,7 +23,6 @@ import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.BetaApi; -import com.google.api.core.InternalApi; import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; @@ -50,8 +49,6 @@ import com.google.bigtable.admin.v2.Backup; import com.google.bigtable.admin.v2.CheckConsistencyRequest; import com.google.bigtable.admin.v2.CheckConsistencyResponse; -import com.google.bigtable.admin.v2.CopyBackupMetadata; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupMetadata; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; @@ -138,8 +135,7 @@ * baseBigtableTableAdminSettingsBuilder.build(); * } */ -@Generated("by gapic-generator") -@InternalApi +@Generated("by gapic-generator-java") public class BigtableTableAdminStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = @@ -193,9 +189,6 @@ public class BigtableTableAdminStubSettings extends StubSettings restoreTableSettings; private final OperationCallSettings restoreTableOperationSettings; - private final UnaryCallSettings copyBackupSettings; - private final OperationCallSettings - copyBackupOperationSettings; private final UnaryCallSettings getIamPolicySettings; private final UnaryCallSettings setIamPolicySettings; private final UnaryCallSettings @@ -508,17 +501,6 @@ public UnaryCallSettings restoreTableSettings() return restoreTableOperationSettings; } - /** Returns the object with the settings used for calls to copyBackup. */ - public UnaryCallSettings copyBackupSettings() { - return copyBackupSettings; - } - - /** Returns the object with the settings used for calls to copyBackup. */ - public OperationCallSettings - copyBackupOperationSettings() { - return copyBackupOperationSettings; - } - /** Returns the object with the settings used for calls to getIamPolicy. */ public UnaryCallSettings getIamPolicySettings() { return getIamPolicySettings; @@ -638,8 +620,6 @@ protected BigtableTableAdminStubSettings(Builder settingsBuilder) throws IOExcep listBackupsSettings = settingsBuilder.listBackupsSettings().build(); restoreTableSettings = settingsBuilder.restoreTableSettings().build(); restoreTableOperationSettings = settingsBuilder.restoreTableOperationSettings().build(); - copyBackupSettings = settingsBuilder.copyBackupSettings().build(); - copyBackupOperationSettings = settingsBuilder.copyBackupOperationSettings().build(); getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); @@ -695,9 +675,6 @@ public static class Builder private final UnaryCallSettings.Builder restoreTableSettings; private final OperationCallSettings.Builder restoreTableOperationSettings; - private final UnaryCallSettings.Builder copyBackupSettings; - private final OperationCallSettings.Builder - copyBackupOperationSettings; private final UnaryCallSettings.Builder getIamPolicySettings; private final UnaryCallSettings.Builder setIamPolicySettings; private final UnaryCallSettings.Builder @@ -710,16 +687,21 @@ public static class Builder ImmutableMap.builder(); definitions.put( "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put( - "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( "retry_policy_2_codes", ImmutableSet.copyOf( Lists.newArrayList( StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( - "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList())); + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_4_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_3_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -736,27 +718,27 @@ public static class Builder .setTotalTimeout(Duration.ofMillis(300000L)) .build(); definitions.put("no_retry_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); settings = RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(60000L)) .setInitialRpcTimeout(Duration.ofMillis(60000L)) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ofMillis(60000L)) .setTotalTimeout(Duration.ofMillis(60000L)) .build(); - definitions.put("no_retry_1_params", settings); + definitions.put("retry_policy_2_params", settings); settings = RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(1000L)) - .setRetryDelayMultiplier(2.0) - .setMaxRetryDelay(Duration.ofMillis(60000L)) .setInitialRpcTimeout(Duration.ofMillis(60000L)) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ofMillis(60000L)) .setTotalTimeout(Duration.ofMillis(60000L)) .build(); - definitions.put("retry_policy_2_params", settings); - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + definitions.put("no_retry_1_params", settings); settings = RetrySettings.newBuilder() .setInitialRpcTimeout(Duration.ofMillis(3600000L)) @@ -764,7 +746,18 @@ public static class Builder .setMaxRpcTimeout(Duration.ofMillis(3600000L)) .setTotalTimeout(Duration.ofMillis(3600000L)) .build(); - definitions.put("no_retry_3_params", settings); + definitions.put("no_retry_4_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_3_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -802,8 +795,6 @@ protected Builder(ClientContext clientContext) { listBackupsSettings = PagedCallSettings.newBuilder(LIST_BACKUPS_PAGE_STR_FACT); restoreTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); restoreTableOperationSettings = OperationCallSettings.newBuilder(); - copyBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - copyBackupOperationSettings = OperationCallSettings.newBuilder(); getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -831,7 +822,6 @@ protected Builder(ClientContext clientContext) { deleteBackupSettings, listBackupsSettings, restoreTableSettings, - copyBackupSettings, getIamPolicySettings, setIamPolicySettings, testIamPermissionsSettings); @@ -869,8 +859,6 @@ protected Builder(BigtableTableAdminStubSettings settings) { listBackupsSettings = settings.listBackupsSettings.toBuilder(); restoreTableSettings = settings.restoreTableSettings.toBuilder(); restoreTableOperationSettings = settings.restoreTableOperationSettings.toBuilder(); - copyBackupSettings = settings.copyBackupSettings.toBuilder(); - copyBackupOperationSettings = settings.copyBackupOperationSettings.toBuilder(); getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); @@ -898,7 +886,6 @@ protected Builder(BigtableTableAdminStubSettings settings) { deleteBackupSettings, listBackupsSettings, restoreTableSettings, - copyBackupSettings, getIamPolicySettings, setIamPolicySettings, testIamPermissionsSettings); @@ -925,8 +912,8 @@ private static Builder initDefaults(Builder builder) { builder .createTableFromSnapshotSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listTablesSettings() @@ -960,23 +947,23 @@ private static Builder initDefaults(Builder builder) { builder .dropRowRangeSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); builder .generateConsistencyTokenSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); builder .checkConsistencySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); builder .snapshotTableSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getSnapshotSettings() @@ -985,8 +972,8 @@ private static Builder initDefaults(Builder builder) { builder .listSnapshotsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); builder .deleteSnapshotSettings() @@ -995,43 +982,38 @@ private static Builder initDefaults(Builder builder) { builder .createBackupSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getBackupSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); builder .updateBackupSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteBackupSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listBackupsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); builder .restoreTableSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); - - builder - .copyBackupSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getIamPolicySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); builder .setIamPolicySettings() @@ -1040,16 +1022,16 @@ private static Builder initDefaults(Builder builder) { builder .testIamPermissionsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); builder .createTableFromSnapshotOperationSettings() .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Table.class)) @@ -1120,8 +1102,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Snapshot.class)) @@ -1144,8 +1126,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Backup.class)) @@ -1168,8 +1150,8 @@ private static Builder initDefaults(Builder builder) { .setInitialCallSettings( UnaryCallSettings .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(Table.class)) @@ -1187,29 +1169,6 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(600000L)) .build())); - builder - .copyBackupOperationSettings() - .setInitialCallSettings( - UnaryCallSettings.newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(Backup.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(CopyBackupMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - return builder; } @@ -1392,19 +1351,6 @@ public UnaryCallSettings.Builder restoreTableSet return restoreTableOperationSettings; } - /** Returns the builder for the settings used for calls to copyBackup. */ - public UnaryCallSettings.Builder copyBackupSettings() { - return copyBackupSettings; - } - - /** Returns the builder for the settings used for calls to copyBackup. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallSettings.Builder - copyBackupOperationSettings() { - return copyBackupOperationSettings; - } - /** Returns the builder for the settings used for calls to getIamPolicy. */ public UnaryCallSettings.Builder getIamPolicySettings() { return getIamPolicySettings; diff --git a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java index 15b56edf8a..c6be2b72b9 100644 --- a/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java +++ b/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java @@ -31,8 +31,6 @@ import com.google.bigtable.admin.v2.Backup; import com.google.bigtable.admin.v2.CheckConsistencyRequest; import com.google.bigtable.admin.v2.CheckConsistencyResponse; -import com.google.bigtable.admin.v2.CopyBackupMetadata; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupMetadata; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; @@ -81,11 +79,7 @@ import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the BigtableTableAdmin service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ +/** For internal use only. */ @Generated("by gapic-generator") @InternalApi public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { @@ -285,14 +279,6 @@ public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); - private static final MethodDescriptor copyBackupMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CopyBackup") - .setRequestMarshaller(ProtoUtils.marshaller(CopyBackupRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - private static final MethodDescriptor getIamPolicyMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) @@ -362,9 +348,6 @@ public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { private final UnaryCallable restoreTableCallable; private final OperationCallable restoreTableOperationCallable; - private final UnaryCallable copyBackupCallable; - private final OperationCallable - copyBackupOperationCallable; private final UnaryCallable getIamPolicyCallable; private final UnaryCallable setIamPolicyCallable; private final UnaryCallable @@ -628,16 +611,6 @@ protected GrpcBigtableTableAdminStub( return params.build(); }) .build(); - GrpcCallSettings copyBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(copyBackupMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); GrpcCallSettings getIamPolicyTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getIamPolicyMethodDescriptor) @@ -784,15 +757,6 @@ protected GrpcBigtableTableAdminStub( settings.restoreTableOperationSettings(), clientContext, operationsStub); - this.copyBackupCallable = - callableFactory.createUnaryCallable( - copyBackupTransportSettings, settings.copyBackupSettings(), clientContext); - this.copyBackupOperationCallable = - callableFactory.createOperationCallable( - copyBackupTransportSettings, - settings.copyBackupOperationSettings(), - clientContext, - operationsStub); this.getIamPolicyCallable = callableFactory.createUnaryCallable( getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); @@ -973,17 +937,6 @@ public UnaryCallable restoreTableCallable() { return restoreTableOperationCallable; } - @Override - public UnaryCallable copyBackupCallable() { - return copyBackupCallable; - } - - @Override - public OperationCallable - copyBackupOperationCallable() { - return copyBackupOperationCallable; - } - @Override public UnaryCallable getIamPolicyCallable() { return getIamPolicyCallable; diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java index 113a0797d2..6a79402f73 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java @@ -35,7 +35,6 @@ import com.google.bigtable.admin.v2.CheckConsistencyResponse; import com.google.bigtable.admin.v2.ClusterName; import com.google.bigtable.admin.v2.ColumnFamily; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; import com.google.bigtable.admin.v2.CreateTableRequest; @@ -68,6 +67,7 @@ import com.google.bigtable.admin.v2.UpdateBackupRequest; import com.google.bigtable.admin.v2.UpdateTableRequest; import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; import com.google.iam.v1.Binding; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.Policy; @@ -1649,7 +1649,6 @@ public void createBackupTest() throws Exception { Backup.newBuilder() .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") .setExpireTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) @@ -1708,7 +1707,6 @@ public void createBackupTest2() throws Exception { Backup.newBuilder() .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") .setExpireTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) @@ -1767,7 +1765,6 @@ public void getBackupTest() throws Exception { Backup.newBuilder() .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") .setExpireTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) @@ -1812,7 +1809,6 @@ public void getBackupTest2() throws Exception { Backup.newBuilder() .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") .setExpireTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) @@ -1857,7 +1853,6 @@ public void updateBackupTest() throws Exception { Backup.newBuilder() .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") .setExpireTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) @@ -2115,264 +2110,13 @@ public void restoreTableExceptionTest() throws Exception { } } - @Test - public void copyBackupTest() throws Exception { - Backup expectedResponse = - Backup.newBuilder() - .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) - .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") - .setExpireTime(Timestamp.newBuilder().build()) - .setStartTime(Timestamp.newBuilder().build()) - .setEndTime(Timestamp.newBuilder().build()) - .setSizeBytes(-1796325715) - .setEncryptionInfo(EncryptionInfo.newBuilder().build()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("copyBackupTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String backupId = "backupId2121930365"; - BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); - Timestamp expireTime = Timestamp.newBuilder().build(); - - Backup actualResponse = - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertEquals(backupId, actualRequest.getBackupId()); - Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); - Assert.assertEquals(expireTime, actualRequest.getExpireTime()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void copyBackupExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String backupId = "backupId2121930365"; - BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); - Timestamp expireTime = Timestamp.newBuilder().build(); - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void copyBackupTest2() throws Exception { - Backup expectedResponse = - Backup.newBuilder() - .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) - .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") - .setExpireTime(Timestamp.newBuilder().build()) - .setStartTime(Timestamp.newBuilder().build()) - .setEndTime(Timestamp.newBuilder().build()) - .setSizeBytes(-1796325715) - .setEncryptionInfo(EncryptionInfo.newBuilder().build()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("copyBackupTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String backupId = "backupId2121930365"; - String sourceBackup = "sourceBackup823134653"; - Timestamp expireTime = Timestamp.newBuilder().build(); - - Backup actualResponse = - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertEquals(backupId, actualRequest.getBackupId()); - Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); - Assert.assertEquals(expireTime, actualRequest.getExpireTime()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void copyBackupExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String backupId = "backupId2121930365"; - String sourceBackup = "sourceBackup823134653"; - Timestamp expireTime = Timestamp.newBuilder().build(); - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void copyBackupTest3() throws Exception { - Backup expectedResponse = - Backup.newBuilder() - .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) - .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") - .setExpireTime(Timestamp.newBuilder().build()) - .setStartTime(Timestamp.newBuilder().build()) - .setEndTime(Timestamp.newBuilder().build()) - .setSizeBytes(-1796325715) - .setEncryptionInfo(EncryptionInfo.newBuilder().build()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("copyBackupTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String parent = "parent-995424086"; - String backupId = "backupId2121930365"; - BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); - Timestamp expireTime = Timestamp.newBuilder().build(); - - Backup actualResponse = - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(backupId, actualRequest.getBackupId()); - Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); - Assert.assertEquals(expireTime, actualRequest.getExpireTime()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void copyBackupExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - String backupId = "backupId2121930365"; - BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); - Timestamp expireTime = Timestamp.newBuilder().build(); - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void copyBackupTest4() throws Exception { - Backup expectedResponse = - Backup.newBuilder() - .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) - .setSourceTable("sourceTable-95372173") - .setSourceBackup("sourceBackup823134653") - .setExpireTime(Timestamp.newBuilder().build()) - .setStartTime(Timestamp.newBuilder().build()) - .setEndTime(Timestamp.newBuilder().build()) - .setSizeBytes(-1796325715) - .setEncryptionInfo(EncryptionInfo.newBuilder().build()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("copyBackupTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String parent = "parent-995424086"; - String backupId = "backupId2121930365"; - String sourceBackup = "sourceBackup823134653"; - Timestamp expireTime = Timestamp.newBuilder().build(); - - Backup actualResponse = - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(backupId, actualRequest.getBackupId()); - Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); - Assert.assertEquals(expireTime, actualRequest.getExpireTime()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void copyBackupExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - String backupId = "backupId2121930365"; - String sourceBackup = "sourceBackup823134653"; - Timestamp expireTime = Timestamp.newBuilder().build(); - client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - @Test public void getIamPolicyTest() throws Exception { Policy expectedResponse = Policy.newBuilder() .setVersion(351608024) .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) .setEtag(ByteString.EMPTY) .build(); mockBigtableTableAdmin.addResponse(expectedResponse); @@ -2413,6 +2157,7 @@ public void getIamPolicyTest2() throws Exception { Policy.newBuilder() .setVersion(351608024) .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) .setEtag(ByteString.EMPTY) .build(); mockBigtableTableAdmin.addResponse(expectedResponse); @@ -2453,6 +2198,7 @@ public void setIamPolicyTest() throws Exception { Policy.newBuilder() .setVersion(351608024) .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) .setEtag(ByteString.EMPTY) .build(); mockBigtableTableAdmin.addResponse(expectedResponse); @@ -2496,6 +2242,7 @@ public void setIamPolicyTest2() throws Exception { Policy.newBuilder() .setVersion(351608024) .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) .setEtag(ByteString.EMPTY) .build(); mockBigtableTableAdmin.addResponse(expectedResponse); diff --git a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java index 33536953e9..211197811a 100644 --- a/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java +++ b/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java @@ -21,7 +21,6 @@ import com.google.bigtable.admin.v2.BigtableTableAdminGrpc.BigtableTableAdminImplBase; import com.google.bigtable.admin.v2.CheckConsistencyRequest; import com.google.bigtable.admin.v2.CheckConsistencyResponse; -import com.google.bigtable.admin.v2.CopyBackupRequest; import com.google.bigtable.admin.v2.CreateBackupRequest; import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; import com.google.bigtable.admin.v2.CreateTableRequest; @@ -528,26 +527,6 @@ public void restoreTable( } } - @Override - public void copyBackup(CopyBackupRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Operation) { - requests.add(request); - responseObserver.onNext(((Operation) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method CopyBackup, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Operation.class.getName(), - Exception.class.getName()))); - } - } - @Override public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { Object response = responses.poll(); diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java index 777aa9c4f7..b4d101214c 100644 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * 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. @@ -18,6 +18,8 @@ import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * Service for creating, configuring, and deleting Cloud Bigtable tables.
  * Provides access to the table schemas only, not the data stored within
@@ -35,789 +37,1067 @@ private BigtableTableAdminGrpc() {}
   public static final String SERVICE_NAME = "google.bigtable.admin.v2.BigtableTableAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
+      getCreateTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTable",
       requestType = com.google.bigtable.admin.v2.CreateTableRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTableMethod() {
-    io.grpc.MethodDescriptor getCreateTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
+      getCreateTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
+        getCreateTableMethod;
     if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) {
-          BigtableTableAdminGrpc.getCreateTableMethod = getCreateTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateTable"))
-                  .build();
+          BigtableTableAdminGrpc.getCreateTableMethod =
+              getCreateTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CreateTable"))
+                      .build();
         }
       }
     }
     return getCreateTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+          com.google.longrunning.Operation>
+      getCreateTableFromSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTableFromSnapshot",
       requestType = com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod() {
-    io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod;
-    if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+          com.google.longrunning.Operation>
+      getCreateTableFromSnapshotMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+            com.google.longrunning.Operation>
+        getCreateTableFromSnapshotMethod;
+    if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod = getCreateTableFromSnapshotMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTableFromSnapshot"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateTableFromSnapshot"))
-                  .build();
+        if ((getCreateTableFromSnapshotMethod =
+                BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod)
+            == null) {
+          BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod =
+              getCreateTableFromSnapshotMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateTableFromSnapshot"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CreateTableFromSnapshot"))
+                      .build();
         }
       }
     }
     return getCreateTableFromSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTablesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListTablesRequest,
+          com.google.bigtable.admin.v2.ListTablesResponse>
+      getListTablesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTables",
       requestType = com.google.bigtable.admin.v2.ListTablesRequest.class,
       responseType = com.google.bigtable.admin.v2.ListTablesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTablesMethod() {
-    io.grpc.MethodDescriptor getListTablesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListTablesRequest,
+          com.google.bigtable.admin.v2.ListTablesResponse>
+      getListTablesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ListTablesRequest,
+            com.google.bigtable.admin.v2.ListTablesResponse>
+        getListTablesMethod;
     if ((getListTablesMethod = BigtableTableAdminGrpc.getListTablesMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListTablesMethod = BigtableTableAdminGrpc.getListTablesMethod) == null) {
-          BigtableTableAdminGrpc.getListTablesMethod = getListTablesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ListTablesRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListTables"))
-                  .build();
+          BigtableTableAdminGrpc.getListTablesMethod =
+              getListTablesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListTablesRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ListTables"))
+                      .build();
         }
       }
     }
     return getListTablesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
+      getGetTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTable",
       requestType = com.google.bigtable.admin.v2.GetTableRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTableMethod() {
-    io.grpc.MethodDescriptor getGetTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
+      getGetTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
+        getGetTableMethod;
     if ((getGetTableMethod = BigtableTableAdminGrpc.getGetTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetTableMethod = BigtableTableAdminGrpc.getGetTableMethod) == null) {
-          BigtableTableAdminGrpc.getGetTableMethod = getGetTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.GetTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetTable"))
-                  .build();
+          BigtableTableAdminGrpc.getGetTableMethod =
+              getGetTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GetTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetTable"))
+                      .build();
         }
       }
     }
     return getGetTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
+      getUpdateTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTable",
       requestType = com.google.bigtable.admin.v2.UpdateTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateTableMethod() {
-    io.grpc.MethodDescriptor getUpdateTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
+      getUpdateTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
+        getUpdateTableMethod;
     if ((getUpdateTableMethod = BigtableTableAdminGrpc.getUpdateTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUpdateTableMethod = BigtableTableAdminGrpc.getUpdateTableMethod) == null) {
-          BigtableTableAdminGrpc.getUpdateTableMethod = getUpdateTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UpdateTable"))
-                  .build();
+          BigtableTableAdminGrpc.getUpdateTableMethod =
+              getUpdateTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("UpdateTable"))
+                      .build();
         }
       }
     }
     return getUpdateTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
+      getDeleteTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTable",
       requestType = com.google.bigtable.admin.v2.DeleteTableRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTableMethod() {
-    io.grpc.MethodDescriptor getDeleteTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
+      getDeleteTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
+        getDeleteTableMethod;
     if ((getDeleteTableMethod = BigtableTableAdminGrpc.getDeleteTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteTableMethod = BigtableTableAdminGrpc.getDeleteTableMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteTableMethod = getDeleteTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.protobuf.Empty.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteTable"))
-                  .build();
+          BigtableTableAdminGrpc.getDeleteTableMethod =
+              getDeleteTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DeleteTable"))
+                      .build();
         }
       }
     }
     return getDeleteTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUndeleteTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
+      getUndeleteTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UndeleteTable",
       requestType = com.google.bigtable.admin.v2.UndeleteTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUndeleteTableMethod() {
-    io.grpc.MethodDescriptor getUndeleteTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
+      getUndeleteTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
+        getUndeleteTableMethod;
     if ((getUndeleteTableMethod = BigtableTableAdminGrpc.getUndeleteTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUndeleteTableMethod = BigtableTableAdminGrpc.getUndeleteTableMethod) == null) {
-          BigtableTableAdminGrpc.getUndeleteTableMethod = getUndeleteTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UndeleteTable"))
-                  .build();
+          BigtableTableAdminGrpc.getUndeleteTableMethod =
+              getUndeleteTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.UndeleteTableRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("UndeleteTable"))
+                      .build();
         }
       }
     }
     return getUndeleteTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getModifyColumnFamiliesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
+          com.google.bigtable.admin.v2.Table>
+      getModifyColumnFamiliesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyColumnFamilies",
       requestType = com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getModifyColumnFamiliesMethod() {
-    io.grpc.MethodDescriptor getModifyColumnFamiliesMethod;
-    if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
+          com.google.bigtable.admin.v2.Table>
+      getModifyColumnFamiliesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
+            com.google.bigtable.admin.v2.Table>
+        getModifyColumnFamiliesMethod;
+    if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod) == null) {
-          BigtableTableAdminGrpc.getModifyColumnFamiliesMethod = getModifyColumnFamiliesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyColumnFamilies"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ModifyColumnFamilies"))
-                  .build();
+        if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod)
+            == null) {
+          BigtableTableAdminGrpc.getModifyColumnFamiliesMethod =
+              getModifyColumnFamiliesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ModifyColumnFamilies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ModifyColumnFamilies"))
+                      .build();
         }
       }
     }
     return getModifyColumnFamiliesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDropRowRangeMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
+      getDropRowRangeMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DropRowRange",
       requestType = com.google.bigtable.admin.v2.DropRowRangeRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDropRowRangeMethod() {
-    io.grpc.MethodDescriptor getDropRowRangeMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
+      getDropRowRangeMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
+        getDropRowRangeMethod;
     if ((getDropRowRangeMethod = BigtableTableAdminGrpc.getDropRowRangeMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDropRowRangeMethod = BigtableTableAdminGrpc.getDropRowRangeMethod) == null) {
-          BigtableTableAdminGrpc.getDropRowRangeMethod = getDropRowRangeMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRowRange"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.protobuf.Empty.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DropRowRange"))
-                  .build();
+          BigtableTableAdminGrpc.getDropRowRangeMethod =
+              getDropRowRangeMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRowRange"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DropRowRangeRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DropRowRange"))
+                      .build();
         }
       }
     }
     return getDropRowRangeMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+      getGenerateConsistencyTokenMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GenerateConsistencyToken",
       requestType = com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
       responseType = com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod() {
-    io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod;
-    if ((getGenerateConsistencyTokenMethod = BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+      getGenerateConsistencyTokenMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+        getGenerateConsistencyTokenMethod;
+    if ((getGenerateConsistencyTokenMethod =
+            BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getGenerateConsistencyTokenMethod = BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod) == null) {
-          BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod = getGenerateConsistencyTokenMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateConsistencyToken"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GenerateConsistencyToken"))
-                  .build();
+        if ((getGenerateConsistencyTokenMethod =
+                BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod)
+            == null) {
+          BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod =
+              getGenerateConsistencyTokenMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GenerateConsistencyToken"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier(
+                              "GenerateConsistencyToken"))
+                      .build();
         }
       }
     }
     return getGenerateConsistencyTokenMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCheckConsistencyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CheckConsistencyRequest,
+          com.google.bigtable.admin.v2.CheckConsistencyResponse>
+      getCheckConsistencyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CheckConsistency",
       requestType = com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
       responseType = com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCheckConsistencyMethod() {
-    io.grpc.MethodDescriptor getCheckConsistencyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CheckConsistencyRequest,
+          com.google.bigtable.admin.v2.CheckConsistencyResponse>
+      getCheckConsistencyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CheckConsistencyRequest,
+            com.google.bigtable.admin.v2.CheckConsistencyResponse>
+        getCheckConsistencyMethod;
     if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod) == null) {
-          BigtableTableAdminGrpc.getCheckConsistencyMethod = getCheckConsistencyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckConsistency"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CheckConsistency"))
-                  .build();
+        if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod)
+            == null) {
+          BigtableTableAdminGrpc.getCheckConsistencyMethod =
+              getCheckConsistencyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckConsistency"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CheckConsistencyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CheckConsistencyResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CheckConsistency"))
+                      .build();
         }
       }
     }
     return getCheckConsistencyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSnapshotTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
+      getSnapshotTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SnapshotTable",
       requestType = com.google.bigtable.admin.v2.SnapshotTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSnapshotTableMethod() {
-    io.grpc.MethodDescriptor getSnapshotTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
+      getSnapshotTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
+        getSnapshotTableMethod;
     if ((getSnapshotTableMethod = BigtableTableAdminGrpc.getSnapshotTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSnapshotTableMethod = BigtableTableAdminGrpc.getSnapshotTableMethod) == null) {
-          BigtableTableAdminGrpc.getSnapshotTableMethod = getSnapshotTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SnapshotTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SnapshotTable"))
-                  .build();
+          BigtableTableAdminGrpc.getSnapshotTableMethod =
+              getSnapshotTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SnapshotTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.SnapshotTableRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("SnapshotTable"))
+                      .build();
         }
       }
     }
     return getSnapshotTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
+      getGetSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetSnapshot",
       requestType = com.google.bigtable.admin.v2.GetSnapshotRequest.class,
       responseType = com.google.bigtable.admin.v2.Snapshot.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetSnapshotMethod() {
-    io.grpc.MethodDescriptor getGetSnapshotMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
+      getGetSnapshotMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
+        getGetSnapshotMethod;
     if ((getGetSnapshotMethod = BigtableTableAdminGrpc.getGetSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetSnapshotMethod = BigtableTableAdminGrpc.getGetSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getGetSnapshotMethod = getGetSnapshotMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetSnapshot"))
-                  .build();
+          BigtableTableAdminGrpc.getGetSnapshotMethod =
+              getGetSnapshotMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetSnapshot"))
+                      .build();
         }
       }
     }
     return getGetSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListSnapshotsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListSnapshotsRequest,
+          com.google.bigtable.admin.v2.ListSnapshotsResponse>
+      getListSnapshotsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSnapshots",
       requestType = com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
       responseType = com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListSnapshotsMethod() {
-    io.grpc.MethodDescriptor getListSnapshotsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListSnapshotsRequest,
+          com.google.bigtable.admin.v2.ListSnapshotsResponse>
+      getListSnapshotsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ListSnapshotsRequest,
+            com.google.bigtable.admin.v2.ListSnapshotsResponse>
+        getListSnapshotsMethod;
     if ((getListSnapshotsMethod = BigtableTableAdminGrpc.getListSnapshotsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListSnapshotsMethod = BigtableTableAdminGrpc.getListSnapshotsMethod) == null) {
-          BigtableTableAdminGrpc.getListSnapshotsMethod = getListSnapshotsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListSnapshots"))
-                  .build();
+          BigtableTableAdminGrpc.getListSnapshotsMethod =
+              getListSnapshotsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListSnapshotsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListSnapshotsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ListSnapshots"))
+                      .build();
         }
       }
     }
     return getListSnapshotsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
+      getDeleteSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteSnapshot",
       requestType = com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteSnapshotMethod() {
-    io.grpc.MethodDescriptor getDeleteSnapshotMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
+      getDeleteSnapshotMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
+        getDeleteSnapshotMethod;
     if ((getDeleteSnapshotMethod = BigtableTableAdminGrpc.getDeleteSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteSnapshotMethod = BigtableTableAdminGrpc.getDeleteSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteSnapshotMethod = getDeleteSnapshotMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.protobuf.Empty.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteSnapshot"))
-                  .build();
+          BigtableTableAdminGrpc.getDeleteSnapshotMethod =
+              getDeleteSnapshotMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DeleteSnapshotRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DeleteSnapshot"))
+                      .build();
         }
       }
     }
     return getDeleteSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
+      getCreateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateBackup",
       requestType = com.google.bigtable.admin.v2.CreateBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateBackupMethod() {
-    io.grpc.MethodDescriptor getCreateBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
+      getCreateBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
+        getCreateBackupMethod;
     if ((getCreateBackupMethod = BigtableTableAdminGrpc.getCreateBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCreateBackupMethod = BigtableTableAdminGrpc.getCreateBackupMethod) == null) {
-          BigtableTableAdminGrpc.getCreateBackupMethod = getCreateBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateBackup"))
-                  .build();
+          BigtableTableAdminGrpc.getCreateBackupMethod =
+              getCreateBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CreateBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CreateBackup"))
+                      .build();
         }
       }
     }
     return getCreateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getGetBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetBackup",
       requestType = com.google.bigtable.admin.v2.GetBackupRequest.class,
       responseType = com.google.bigtable.admin.v2.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetBackupMethod() {
-    io.grpc.MethodDescriptor getGetBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getGetBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
+        getGetBackupMethod;
     if ((getGetBackupMethod = BigtableTableAdminGrpc.getGetBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetBackupMethod = BigtableTableAdminGrpc.getGetBackupMethod) == null) {
-          BigtableTableAdminGrpc.getGetBackupMethod = getGetBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.GetBackupRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetBackup"))
-                  .build();
+          BigtableTableAdminGrpc.getGetBackupMethod =
+              getGetBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GetBackupRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetBackup"))
+                      .build();
         }
       }
     }
     return getGetBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getUpdateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateBackup",
       requestType = com.google.bigtable.admin.v2.UpdateBackupRequest.class,
       responseType = com.google.bigtable.admin.v2.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateBackupMethod() {
-    io.grpc.MethodDescriptor getUpdateBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getUpdateBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
+        getUpdateBackupMethod;
     if ((getUpdateBackupMethod = BigtableTableAdminGrpc.getUpdateBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUpdateBackupMethod = BigtableTableAdminGrpc.getUpdateBackupMethod) == null) {
-          BigtableTableAdminGrpc.getUpdateBackupMethod = getUpdateBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UpdateBackup"))
-                  .build();
+          BigtableTableAdminGrpc.getUpdateBackupMethod =
+              getUpdateBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.UpdateBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("UpdateBackup"))
+                      .build();
         }
       }
     }
     return getUpdateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
+      getDeleteBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteBackup",
       requestType = com.google.bigtable.admin.v2.DeleteBackupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteBackupMethod() {
-    io.grpc.MethodDescriptor getDeleteBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
+      getDeleteBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
+        getDeleteBackupMethod;
     if ((getDeleteBackupMethod = BigtableTableAdminGrpc.getDeleteBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteBackupMethod = BigtableTableAdminGrpc.getDeleteBackupMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteBackupMethod = getDeleteBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.protobuf.Empty.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteBackup"))
-                  .build();
+          BigtableTableAdminGrpc.getDeleteBackupMethod =
+              getDeleteBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DeleteBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DeleteBackup"))
+                      .build();
         }
       }
     }
     return getDeleteBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListBackupsRequest,
+          com.google.bigtable.admin.v2.ListBackupsResponse>
+      getListBackupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackups",
       requestType = com.google.bigtable.admin.v2.ListBackupsRequest.class,
       responseType = com.google.bigtable.admin.v2.ListBackupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListBackupsMethod() {
-    io.grpc.MethodDescriptor getListBackupsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListBackupsRequest,
+          com.google.bigtable.admin.v2.ListBackupsResponse>
+      getListBackupsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ListBackupsRequest,
+            com.google.bigtable.admin.v2.ListBackupsResponse>
+        getListBackupsMethod;
     if ((getListBackupsMethod = BigtableTableAdminGrpc.getListBackupsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListBackupsMethod = BigtableTableAdminGrpc.getListBackupsMethod) == null) {
-          BigtableTableAdminGrpc.getListBackupsMethod = getListBackupsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListBackups"))
-                  .build();
+          BigtableTableAdminGrpc.getListBackupsMethod =
+              getListBackupsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListBackupsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ListBackups"))
+                      .build();
         }
       }
     }
     return getListBackupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRestoreTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
+      getRestoreTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RestoreTable",
       requestType = com.google.bigtable.admin.v2.RestoreTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRestoreTableMethod() {
-    io.grpc.MethodDescriptor getRestoreTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
+      getRestoreTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
+        getRestoreTableMethod;
     if ((getRestoreTableMethod = BigtableTableAdminGrpc.getRestoreTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getRestoreTableMethod = BigtableTableAdminGrpc.getRestoreTableMethod) == null) {
-          BigtableTableAdminGrpc.getRestoreTableMethod = getRestoreTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreTable"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("RestoreTable"))
-                  .build();
+          BigtableTableAdminGrpc.getRestoreTableMethod =
+              getRestoreTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.RestoreTableRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("RestoreTable"))
+                      .build();
         }
       }
     }
     return getRestoreTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCopyBackupMethod;
-
-  @io.grpc.stub.annotations.RpcMethod(
-      fullMethodName = SERVICE_NAME + '/' + "CopyBackup",
-      requestType = com.google.bigtable.admin.v2.CopyBackupRequest.class,
-      responseType = com.google.longrunning.Operation.class,
-      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCopyBackupMethod() {
-    io.grpc.MethodDescriptor getCopyBackupMethod;
-    if ((getCopyBackupMethod = BigtableTableAdminGrpc.getCopyBackupMethod) == null) {
-      synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCopyBackupMethod = BigtableTableAdminGrpc.getCopyBackupMethod) == null) {
-          BigtableTableAdminGrpc.getCopyBackupMethod = getCopyBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.bigtable.admin.v2.CopyBackupRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.longrunning.Operation.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CopyBackup"))
-                  .build();
-        }
-      }
-    }
-    return getCopyBackupMethod;
-  }
-
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.iam.v1.Policy.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
-                  .build();
+          BigtableTableAdminGrpc.getGetIamPolicyMethod =
+              getGetIamPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.Policy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.iam.v1.Policy.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
-                  .build();
+          BigtableTableAdminGrpc.getSetIamPolicyMethod =
+              getSetIamPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.Policy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
+      getTestIamPermissionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
-    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
+      getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.iam.v1.TestIamPermissionsRequest,
+            com.google.iam.v1.TestIamPermissionsResponse>
+        getTestIamPermissionsMethod;
+    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
-          BigtableTableAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-                  .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                  .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
-                  .setSampledToLocalTracing(true)
-                  .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
-                  .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                      com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
-                  .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
-                  .build();
+        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
+            == null) {
+          BigtableTableAdminGrpc.getTestIamPermissionsMethod =
+              getTestIamPermissionsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BigtableTableAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
         new io.grpc.stub.AbstractStub.StubFactory() {
           @java.lang.Override
-          public BigtableTableAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          public BigtableTableAdminStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
             return new BigtableTableAdminStub(channel, callOptions);
           }
         };
@@ -827,27 +1107,25 @@ public BigtableTableAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptio
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigtableTableAdminBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static BigtableTableAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
         new io.grpc.stub.AbstractStub.StubFactory() {
           @java.lang.Override
-          public BigtableTableAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          public BigtableTableAdminBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
             return new BigtableTableAdminBlockingStub(channel, callOptions);
           }
         };
     return BigtableTableAdminBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static BigtableTableAdminFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static BigtableTableAdminFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
         new io.grpc.stub.AbstractStub.StubFactory() {
           @java.lang.Override
-          public BigtableTableAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          public BigtableTableAdminFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
             return new BigtableTableAdminFutureStub(channel, callOptions);
           }
         };
@@ -855,27 +1133,35 @@ public BigtableTableAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.Cal
   }
 
   /**
+   *
+   *
    * 
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public static abstract class BigtableTableAdminImplBase implements io.grpc.BindableService { + public abstract static class BigtableTableAdminImplBase implements io.grpc.BindableService { /** + * + * *
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableMethod(), responseObserver); + public void createTable( + com.google.bigtable.admin.v2.CreateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTableMethod(), responseObserver); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -886,62 +1172,85 @@ public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request,
      * policy.
      * 
*/ - public void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableFromSnapshotMethod(), responseObserver); + public void createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTableFromSnapshotMethod(), responseObserver); } /** + * + * *
      * Lists all tables served from a specified instance.
      * 
*/ - public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTables( + com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public void getTable(com.google.bigtable.admin.v2.GetTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getTable( + com.google.bigtable.admin.v2.GetTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); } /** + * + * *
      * Updates a specified table.
      * 
*/ - public void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTableMethod(), responseObserver); + public void updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTableMethod(), responseObserver); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTableMethod(), responseObserver); + public void deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTableMethod(), responseObserver); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeleteTableMethod(), responseObserver); + public void undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUndeleteTableMethod(), responseObserver); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -949,24 +1258,32 @@ public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest requ
      * where only some modifications have taken effect.
      * 
*/ - public void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyColumnFamiliesMethod(), responseObserver); + public void modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getModifyColumnFamiliesMethod(), responseObserver); } /** + * + * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropRowRangeMethod(), responseObserver); + public void dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDropRowRangeMethod(), responseObserver); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -974,24 +1291,34 @@ public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest reques
      * for 90 days.
      * 
*/ - public void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConsistencyTokenMethod(), responseObserver); + public void generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateConsistencyTokenMethod(), responseObserver); } /** + * + * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckConsistencyMethod(), responseObserver); + public void checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckConsistencyMethod(), responseObserver); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1002,12 +1329,16 @@ public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyReques
      * policy.
      * 
*/ - public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSnapshotTableMethod(), responseObserver); + public void snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSnapshotTableMethod(), responseObserver); } /** + * + * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1017,12 +1348,16 @@ public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest requ
      * policy.
      * 
*/ - public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSnapshotMethod(), responseObserver); + public void getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSnapshotMethod(), responseObserver); } /** + * + * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1032,12 +1367,17 @@ public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request,
      * policy.
      * 
*/ - public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSnapshotsMethod(), responseObserver); + public void listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSnapshotsMethod(), responseObserver); } /** + * + * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1047,12 +1387,16 @@ public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest requ
      * policy.
      * 
*/ - public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSnapshotMethod(), responseObserver); + public void deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSnapshotMethod(), responseObserver); } /** + * + * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1060,57 +1404,77 @@ public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
      * [metadata][google.longrunning.Operation.metadata] field type is
      * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
      * [response][google.longrunning.Operation.response] field type is
-     * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
-     * returned operation will stop the creation and delete the backup.
+     * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the
+     * creation and delete the backup.
      * 
*/ - public void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + public void createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); } /** + * + * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + public void updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), responseObserver); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + public void deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + public void listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1122,119 +1486,115 @@ public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request,
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreTableMethod(), responseObserver); - } - - /** - *
-     * Copy a Cloud Bigtable backup to a new backup in the destination cluster
-     * located in the destination instance and project.
-     * 
- */ - public void copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); + public void restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestoreTableMethod(), responseObserver); } /** + * + * *
-     * Gets the access control policy for a Table resource.
+     * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
-     * Sets the access control policy on a Table resource.
+     * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
-     * Returns permissions that the caller has on the specified table resource.
+     * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>( - this, METHODID_CREATE_TABLE))) + com.google.bigtable.admin.v2.Table>(this, METHODID_CREATE_TABLE))) .addMethod( getCreateTableFromSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) + com.google.longrunning.Operation>(this, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) .addMethod( getListTablesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.ListTablesRequest, - com.google.bigtable.admin.v2.ListTablesResponse>( - this, METHODID_LIST_TABLES))) + com.google.bigtable.admin.v2.ListTablesResponse>(this, METHODID_LIST_TABLES))) .addMethod( getGetTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>( - this, METHODID_GET_TABLE))) + com.google.bigtable.admin.v2.Table>(this, METHODID_GET_TABLE))) .addMethod( getUpdateTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_TABLE))) + com.google.longrunning.Operation>(this, METHODID_UPDATE_TABLE))) .addMethod( getDeleteTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, - com.google.protobuf.Empty>( + com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_TABLE))) .addMethod( getUndeleteTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>( - this, METHODID_UNDELETE_TABLE))) + com.google.longrunning.Operation>(this, METHODID_UNDELETE_TABLE))) .addMethod( getModifyColumnFamiliesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>( - this, METHODID_MODIFY_COLUMN_FAMILIES))) + com.google.bigtable.admin.v2.Table>(this, METHODID_MODIFY_COLUMN_FAMILIES))) .addMethod( getDropRowRangeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, - com.google.protobuf.Empty>( + com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( this, METHODID_DROP_ROW_RANGE))) .addMethod( getGenerateConsistencyTokenMethod(), @@ -1255,15 +1615,13 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>( - this, METHODID_SNAPSHOT_TABLE))) + com.google.longrunning.Operation>(this, METHODID_SNAPSHOT_TABLE))) .addMethod( getGetSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>( - this, METHODID_GET_SNAPSHOT))) + com.google.bigtable.admin.v2.Snapshot>(this, METHODID_GET_SNAPSHOT))) .addMethod( getListSnapshotsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -1276,35 +1634,30 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.DeleteSnapshotRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_SNAPSHOT))) + com.google.protobuf.Empty>(this, METHODID_DELETE_SNAPSHOT))) .addMethod( getCreateBackupMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_BACKUP))) + com.google.longrunning.Operation>(this, METHODID_CREATE_BACKUP))) .addMethod( getGetBackupMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>( - this, METHODID_GET_BACKUP))) + com.google.bigtable.admin.v2.Backup>(this, METHODID_GET_BACKUP))) .addMethod( getUpdateBackupMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>( - this, METHODID_UPDATE_BACKUP))) + com.google.bigtable.admin.v2.Backup>(this, METHODID_UPDATE_BACKUP))) .addMethod( getDeleteBackupMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, - com.google.protobuf.Empty>( + com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_BACKUP))) .addMethod( getListBackupsMethod(), @@ -1318,28 +1671,18 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>( - this, METHODID_RESTORE_TABLE))) - .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CopyBackupRequest, - com.google.longrunning.Operation>( - this, METHODID_COPY_BACKUP))) + com.google.longrunning.Operation>(this, METHODID_RESTORE_TABLE))) .addMethod( getGetIamPolicyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( getSetIamPolicyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethod(), @@ -1353,15 +1696,17 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque } /** + * + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public static final class BigtableTableAdminStub extends io.grpc.stub.AbstractAsyncStub { - private BigtableTableAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigtableTableAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableTableAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1372,19 +1717,26 @@ protected BigtableTableAdminStub build( } /** + * + * *
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createTable( + com.google.bigtable.admin.v2.CreateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1395,68 +1747,95 @@ public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request,
      * policy.
      * 
*/ - public void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists all tables served from a specified instance.
      * 
*/ - public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTables( + com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public void getTable(com.google.bigtable.admin.v2.GetTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getTable( + com.google.bigtable.admin.v2.GetTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTableMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates a specified table.
      * 
*/ - public void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1464,26 +1843,36 @@ public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest requ
      * where only some modifications have taken effect.
      * 
*/ - public void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1491,26 +1880,38 @@ public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest reques
      * for 90 days.
      * 
*/ - public void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1521,13 +1922,18 @@ public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyReques
      * policy.
      * 
*/ - public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1537,13 +1943,18 @@ public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest requ
      * policy.
      * 
*/ - public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1553,13 +1964,19 @@ public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request,
      * policy.
      * 
*/ - public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1569,13 +1986,18 @@ public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest requ
      * policy.
      * 
*/ - public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1583,62 +2005,86 @@ public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
      * [metadata][google.longrunning.Operation.metadata] field type is
      * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
      * [response][google.longrunning.Operation.response] field type is
-     * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
-     * returned operation will stop the creation and delete the backup.
+     * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the
+     * creation and delete the backup.
      * 
*/ - public void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListBackupsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1650,69 +2096,79 @@ public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request,
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreTableMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Copy a Cloud Bigtable backup to a new backup in the destination cluster
-     * located in the destination instance and project.
-     * 
- */ - public void copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRestoreTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
-     * Gets the access control policy for a Table resource.
+     * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
-     * Sets the access control policy on a Table resource.
+     * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
-     * Returns permissions that the caller has on the specified table resource.
+     * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public static final class BigtableTableAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class BigtableTableAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private BigtableTableAdminBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -1725,18 +2181,23 @@ protected BigtableTableAdminBlockingStub build( } /** + * + * *
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.bigtable.admin.v2.Table createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.bigtable.admin.v2.Table createTable( + com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1747,62 +2208,80 @@ public com.google.bigtable.admin.v2.Table createTable(com.google.bigtable.admin.
      * policy.
      * 
*/ - public com.google.longrunning.Operation createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { + public com.google.longrunning.Operation createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableFromSnapshotMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.bigtable.admin.v2.ListTablesResponse listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.bigtable.admin.v2.ListTablesResponse listTables( + com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTablesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.bigtable.admin.v2.Table getTable(com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.bigtable.admin.v2.Table getTable( + com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTableMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a specified table.
      * 
*/ - public com.google.longrunning.Operation updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.longrunning.Operation updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTableMethod(), getCallOptions(), request); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.protobuf.Empty deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.protobuf.Empty deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTableMethod(), getCallOptions(), request); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.longrunning.Operation undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.longrunning.Operation undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUndeleteTableMethod(), getCallOptions(), request); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1810,24 +2289,30 @@ public com.google.longrunning.Operation undeleteTable(com.google.bigtable.admin.
      * where only some modifications have taken effect.
      * 
*/ - public com.google.bigtable.admin.v2.Table modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { + public com.google.bigtable.admin.v2.Table modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyColumnFamiliesMethod(), getCallOptions(), request); } /** + * + * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.protobuf.Empty dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.protobuf.Empty dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropRowRangeMethod(), getCallOptions(), request); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1835,24 +2320,30 @@ public com.google.protobuf.Empty dropRowRange(com.google.bigtable.admin.v2.DropR
      * for 90 days.
      * 
*/ - public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { + public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGenerateConsistencyTokenMethod(), getCallOptions(), request); } /** + * + * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCheckConsistencyMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1863,12 +2354,15 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(co
      * policy.
      * 
*/ - public com.google.longrunning.Operation snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) { + public com.google.longrunning.Operation snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSnapshotTableMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1878,12 +2372,15 @@ public com.google.longrunning.Operation snapshotTable(com.google.bigtable.admin.
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.Snapshot getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) { + public com.google.bigtable.admin.v2.Snapshot getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSnapshotMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1893,12 +2390,15 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshot(com.google.bigtable.adm
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) { + public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSnapshotsMethod(), getCallOptions(), request); } /** + * + * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1908,12 +2408,15 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(com.goog
      * policy.
      * 
*/ - public com.google.protobuf.Empty deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { + public com.google.protobuf.Empty deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSnapshotMethod(), getCallOptions(), request); } /** + * + * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1921,57 +2424,72 @@ public com.google.protobuf.Empty deleteSnapshot(com.google.bigtable.admin.v2.Del
      * [metadata][google.longrunning.Operation.metadata] field type is
      * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
      * [response][google.longrunning.Operation.response] field type is
-     * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
-     * returned operation will stop the creation and delete the backup.
+     * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the
+     * creation and delete the backup.
      * 
*/ - public com.google.longrunning.Operation createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.bigtable.admin.v2.Backup getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.bigtable.admin.v2.Backup updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.protobuf.Empty deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.bigtable.admin.v2.ListBackupsResponse listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1983,25 +2501,17 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(com.google.b
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public com.google.longrunning.Operation restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) { + public com.google.longrunning.Operation restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreTableMethod(), getCallOptions(), request); } /** + * + * *
-     * Copy a Cloud Bigtable backup to a new backup in the destination cluster
-     * located in the destination instance and project.
-     * 
- */ - public com.google.longrunning.Operation copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCopyBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the access control policy for a Table resource.
+     * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
@@ -2012,8 +2522,10 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque } /** + * + * *
-     * Sets the access control policy on a Table resource.
+     * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ @@ -2023,26 +2535,31 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque } /** + * + * *
-     * Returns permissions that the caller has on the specified table resource.
+     * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } /** + * + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public static final class BigtableTableAdminFutureStub extends io.grpc.stub.AbstractFutureStub { - private BigtableTableAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigtableTableAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableTableAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2053,19 +2570,23 @@ protected BigtableTableAdminFutureStub build( } /** + * + * *
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTable( - com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -2076,68 +2597,82 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTableFromSnapshot(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createTableFromSnapshot(
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listTables( - com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListTablesResponse> + listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTable( - com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTable(com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTableMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -2145,26 +2680,30 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture modifyColumnFamilies(
-        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.common.util.concurrent.ListenableFuture + dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -2172,26 +2711,33 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture generateConsistencyToken(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+        generateConsistencyToken(
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.CheckConsistencyResponse> + checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -2202,13 +2748,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture snapshotTable(
-        com.google.bigtable.admin.v2.SnapshotTableRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2218,13 +2766,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getSnapshot(
-        com.google.bigtable.admin.v2.GetSnapshotRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2234,13 +2784,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listSnapshots(
-        com.google.bigtable.admin.v2.ListSnapshotsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.bigtable.admin.v2.ListSnapshotsResponse>
+        listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2250,13 +2803,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteSnapshot(
-        com.google.bigtable.admin.v2.DeleteSnapshotRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -2264,62 +2819,73 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createBackup(
-        com.google.bigtable.admin.v2.CreateBackupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListBackupsResponse> + listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -2331,56 +2897,51 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture restoreTable(
-        com.google.bigtable.admin.v2.RestoreTableRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRestoreTableMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
-     * Copy a Cloud Bigtable backup to a new backup in the destination cluster
-     * located in the destination instance and project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture copyBackup( - com.google.bigtable.admin.v2.CopyBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the access control policy for a Table resource.
+     * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** + * + * *
-     * Sets the access control policy on a Table resource.
+     * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** + * + * *
-     * Returns permissions that the caller has on the specified table resource.
+     * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } @@ -2407,16 +2968,15 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_TEST_IAM_PERMISSIONS = 23; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final BigtableTableAdminImplBase serviceImpl; private final int methodId; @@ -2430,104 +2990,132 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_TABLE: - serviceImpl.createTable((com.google.bigtable.admin.v2.CreateTableRequest) request, + serviceImpl.createTable( + (com.google.bigtable.admin.v2.CreateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_TABLE_FROM_SNAPSHOT: - serviceImpl.createTableFromSnapshot((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, + serviceImpl.createTableFromSnapshot( + (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TABLES: - serviceImpl.listTables((com.google.bigtable.admin.v2.ListTablesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listTables( + (com.google.bigtable.admin.v2.ListTablesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_TABLE: - serviceImpl.getTable((com.google.bigtable.admin.v2.GetTableRequest) request, + serviceImpl.getTable( + (com.google.bigtable.admin.v2.GetTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_TABLE: - serviceImpl.updateTable((com.google.bigtable.admin.v2.UpdateTableRequest) request, + serviceImpl.updateTable( + (com.google.bigtable.admin.v2.UpdateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_TABLE: - serviceImpl.deleteTable((com.google.bigtable.admin.v2.DeleteTableRequest) request, + serviceImpl.deleteTable( + (com.google.bigtable.admin.v2.DeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNDELETE_TABLE: - serviceImpl.undeleteTable((com.google.bigtable.admin.v2.UndeleteTableRequest) request, + serviceImpl.undeleteTable( + (com.google.bigtable.admin.v2.UndeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_COLUMN_FAMILIES: - serviceImpl.modifyColumnFamilies((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, + serviceImpl.modifyColumnFamilies( + (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_ROW_RANGE: - serviceImpl.dropRowRange((com.google.bigtable.admin.v2.DropRowRangeRequest) request, + serviceImpl.dropRowRange( + (com.google.bigtable.admin.v2.DropRowRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GENERATE_CONSISTENCY_TOKEN: - serviceImpl.generateConsistencyToken((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.generateConsistencyToken( + (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>) + responseObserver); break; case METHODID_CHECK_CONSISTENCY: - serviceImpl.checkConsistency((com.google.bigtable.admin.v2.CheckConsistencyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.checkConsistency( + (com.google.bigtable.admin.v2.CheckConsistencyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_SNAPSHOT_TABLE: - serviceImpl.snapshotTable((com.google.bigtable.admin.v2.SnapshotTableRequest) request, + serviceImpl.snapshotTable( + (com.google.bigtable.admin.v2.SnapshotTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SNAPSHOT: - serviceImpl.getSnapshot((com.google.bigtable.admin.v2.GetSnapshotRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getSnapshot( + (com.google.bigtable.admin.v2.GetSnapshotRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_SNAPSHOTS: - serviceImpl.listSnapshots((com.google.bigtable.admin.v2.ListSnapshotsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listSnapshots( + (com.google.bigtable.admin.v2.ListSnapshotsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_DELETE_SNAPSHOT: - serviceImpl.deleteSnapshot((com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, + serviceImpl.deleteSnapshot( + (com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup((com.google.bigtable.admin.v2.CreateBackupRequest) request, + serviceImpl.createBackup( + (com.google.bigtable.admin.v2.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup((com.google.bigtable.admin.v2.GetBackupRequest) request, + serviceImpl.getBackup( + (com.google.bigtable.admin.v2.GetBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup((com.google.bigtable.admin.v2.UpdateBackupRequest) request, + serviceImpl.updateBackup( + (com.google.bigtable.admin.v2.UpdateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup((com.google.bigtable.admin.v2.DeleteBackupRequest) request, + serviceImpl.deleteBackup( + (com.google.bigtable.admin.v2.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups((com.google.bigtable.admin.v2.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listBackups( + (com.google.bigtable.admin.v2.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_RESTORE_TABLE: - serviceImpl.restoreTable((com.google.bigtable.admin.v2.RestoreTableRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COPY_BACKUP: - serviceImpl.copyBackup((com.google.bigtable.admin.v2.CopyBackupRequest) request, + serviceImpl.restoreTable( + (com.google.bigtable.admin.v2.RestoreTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -2545,8 +3133,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class BigtableTableAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class BigtableTableAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigtableTableAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -2588,34 +3177,35 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BigtableTableAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) - .addMethod(getCreateTableMethod()) - .addMethod(getCreateTableFromSnapshotMethod()) - .addMethod(getListTablesMethod()) - .addMethod(getGetTableMethod()) - .addMethod(getUpdateTableMethod()) - .addMethod(getDeleteTableMethod()) - .addMethod(getUndeleteTableMethod()) - .addMethod(getModifyColumnFamiliesMethod()) - .addMethod(getDropRowRangeMethod()) - .addMethod(getGenerateConsistencyTokenMethod()) - .addMethod(getCheckConsistencyMethod()) - .addMethod(getSnapshotTableMethod()) - .addMethod(getGetSnapshotMethod()) - .addMethod(getListSnapshotsMethod()) - .addMethod(getDeleteSnapshotMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreTableMethod()) - .addMethod(getCopyBackupMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) + .addMethod(getCreateTableMethod()) + .addMethod(getCreateTableFromSnapshotMethod()) + .addMethod(getListTablesMethod()) + .addMethod(getGetTableMethod()) + .addMethod(getUpdateTableMethod()) + .addMethod(getDeleteTableMethod()) + .addMethod(getUndeleteTableMethod()) + .addMethod(getModifyColumnFamiliesMethod()) + .addMethod(getDropRowRangeMethod()) + .addMethod(getGenerateConsistencyTokenMethod()) + .addMethod(getCheckConsistencyMethod()) + .addMethod(getSnapshotTableMethod()) + .addMethod(getGetSnapshotMethod()) + .addMethod(getListSnapshotsMethod()) + .addMethod(getDeleteSnapshotMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreTableMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); } } } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java index a2d637cc78..b68fe55e1b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * 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. @@ -40,7 +40,6 @@ private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Backup() { name_ = ""; sourceTable_ = ""; - sourceBackup_ = ""; state_ = 0; } @@ -158,13 +157,6 @@ private Backup( encryptionInfo_ = subBuilder.buildPartial(); } - break; - } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - - sourceBackup_ = s; break; } default: @@ -484,61 +476,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } - public static final int SOURCE_BACKUP_FIELD_NUMBER = 10; - private volatile java.lang.Object sourceBackup_; - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The sourceBackup. - */ - @java.lang.Override - public java.lang.String getSourceBackup() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceBackup_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for sourceBackup. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceBackup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - public static final int EXPIRE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp expireTime_; /** @@ -860,9 +797,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (encryptionInfo_ != null) { output.writeMessage(9, getEncryptionInfo()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, sourceBackup_); - } unknownFields.writeTo(output); } @@ -896,9 +830,6 @@ public int getSerializedSize() { if (encryptionInfo_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEncryptionInfo()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, sourceBackup_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -916,7 +847,6 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getSourceTable().equals(other.getSourceTable())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { if (!getExpireTime().equals(other.getExpireTime())) return false; @@ -950,8 +880,6 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SOURCE_TABLE_FIELD_NUMBER; hash = (53 * hash) + getSourceTable().hashCode(); - hash = (37 * hash) + SOURCE_BACKUP_FIELD_NUMBER; - hash = (53 * hash) + getSourceBackup().hashCode(); if (hasExpireTime()) { hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpireTime().hashCode(); @@ -1120,8 +1048,6 @@ public Builder clear() { sourceTable_ = ""; - sourceBackup_ = ""; - if (expireTimeBuilder_ == null) { expireTime_ = null; } else { @@ -1178,7 +1104,6 @@ public com.google.bigtable.admin.v2.Backup buildPartial() { com.google.bigtable.admin.v2.Backup result = new com.google.bigtable.admin.v2.Backup(this); result.name_ = name_; result.sourceTable_ = sourceTable_; - result.sourceBackup_ = sourceBackup_; if (expireTimeBuilder_ == null) { result.expireTime_ = expireTime_; } else { @@ -1258,10 +1183,6 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Backup other) { sourceTable_ = other.sourceTable_; onChanged(); } - if (!other.getSourceBackup().isEmpty()) { - sourceBackup_ = other.sourceBackup_; - onChanged(); - } if (other.hasExpireTime()) { mergeExpireTime(other.getExpireTime()); } @@ -1581,127 +1502,6 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { return this; } - private java.lang.Object sourceBackup_ = ""; - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The sourceBackup. - */ - public java.lang.String getSourceBackup() { - java.lang.Object ref = sourceBackup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceBackup_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for sourceBackup. - */ - public com.google.protobuf.ByteString getSourceBackupBytes() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceBackup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The sourceBackup to set. - * @return This builder for chaining. - */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - sourceBackup_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearSourceBackup() { - - sourceBackup_ = getDefaultInstance().getSourceBackup(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for sourceBackup to set. - * @return This builder for chaining. - */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - sourceBackup_ = value; - onChanged(); - return this; - } - private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java index 85c820ea9d..c962305cc2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * 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. @@ -40,7 +40,6 @@ private BackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { private BackupInfo() { backup_ = ""; sourceTable_ = ""; - sourceBackup_ = ""; } @java.lang.Override @@ -116,13 +115,6 @@ private BackupInfo( sourceTable_ = s; break; } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - - sourceBackup_ = s; - break; - } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -361,61 +353,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } - public static final int SOURCE_BACKUP_FIELD_NUMBER = 10; - private volatile java.lang.Object sourceBackup_; - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The sourceBackup. - */ - @java.lang.Override - public java.lang.String getSourceBackup() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceBackup_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for sourceBackup. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceBackup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -442,9 +379,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceTable_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sourceTable_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, sourceBackup_); - } unknownFields.writeTo(output); } @@ -466,9 +400,6 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceTable_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceTable_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, sourceBackup_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -494,7 +425,6 @@ public boolean equals(final java.lang.Object obj) { if (!getEndTime().equals(other.getEndTime())) return false; } if (!getSourceTable().equals(other.getSourceTable())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -518,8 +448,6 @@ public int hashCode() { } hash = (37 * hash) + SOURCE_TABLE_FIELD_NUMBER; hash = (53 * hash) + getSourceTable().hashCode(); - hash = (37 * hash) + SOURCE_BACKUP_FIELD_NUMBER; - hash = (53 * hash) + getSourceBackup().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -681,8 +609,6 @@ public Builder clear() { } sourceTable_ = ""; - sourceBackup_ = ""; - return this; } @@ -722,7 +648,6 @@ public com.google.bigtable.admin.v2.BackupInfo buildPartial() { result.endTime_ = endTimeBuilder_.build(); } result.sourceTable_ = sourceTable_; - result.sourceBackup_ = sourceBackup_; onBuilt(); return result; } @@ -786,10 +711,6 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.BackupInfo other) { sourceTable_ = other.sourceTable_; onChanged(); } - if (!other.getSourceBackup().isEmpty()) { - sourceBackup_ = other.sourceBackup_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1425,127 +1346,6 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { return this; } - private java.lang.Object sourceBackup_ = ""; - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The sourceBackup. - */ - public java.lang.String getSourceBackup() { - java.lang.Object ref = sourceBackup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceBackup_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for sourceBackup. - */ - public com.google.protobuf.ByteString getSourceBackupBytes() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceBackup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The sourceBackup to set. - * @return This builder for chaining. - */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - sourceBackup_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearSourceBackup() { - - sourceBackup_ = getDefaultInstance().getSourceBackup(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Name of the backup from which this backup was copied. If a backup is
-     * not created by copying a backup, this field will be empty.
-     * Values are of the form:
-     * projects/<project>/instances/<instance>/backups/<backup>.
-     * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for sourceBackup to set. - * @return This builder for chaining. - */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - sourceBackup_ = value; - onChanged(); - return this; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java index 7fe70c5255..2f255fd08f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * 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. @@ -154,35 +154,4 @@ public interface BackupInfoOrBuilder * @return The bytes for sourceTable. */ com.google.protobuf.ByteString getSourceTableBytes(); - - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The sourceBackup. - */ - java.lang.String getSourceBackup(); - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for sourceBackup. - */ - com.google.protobuf.ByteString getSourceBackupBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java index 31f90e29dc..27ea79953f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * 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. @@ -97,37 +97,6 @@ public interface BackupOrBuilder */ com.google.protobuf.ByteString getSourceTableBytes(); - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The sourceBackup. - */ - java.lang.String getSourceBackup(); - /** - * - * - *
-   * Output only. Name of the backup from which this backup was copied. If a backup is
-   * not created by copying a backup, this field will be empty.
-   * Values are of the form:
-   * projects/<project>/instances/<instance>/backups/<backup>.
-   * 
- * - * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for sourceBackup. - */ - com.google.protobuf.ByteString getSourceBackupBytes(); - /** * * diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java index eab64c4dbf..7fe2354129 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * 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. @@ -20,732 +20,736 @@ public final class BigtableTableAdminProto { private BigtableTableAdminProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public 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_bigtable_admin_v2_RestoreTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n3google/bigtable/admin/v2/bigtable_tabl" + - "e_admin.proto\022\030google.bigtable.admin.v2\032" + - "\034google/api/annotations.proto\032\027google/ap" + - "i/client.proto\032\037google/api/field_behavio" + - "r.proto\032\031google/api/resource.proto\032%goog" + - "le/bigtable/admin/v2/common.proto\032$googl" + - "e/bigtable/admin/v2/table.proto\032\036google/" + - "iam/v1/iam_policy.proto\032\032google/iam/v1/p" + - "olicy.proto\032#google/longrunning/operatio" + - "ns.proto\032\036google/protobuf/duration.proto" + - "\032\033google/protobuf/empty.proto\032 google/pr" + - "otobuf/field_mask.proto\032\037google/protobuf" + - "/timestamp.proto\"\261\001\n\023RestoreTableRequest" + - "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + - "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" + - "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" + - "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" + - "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" + - "ource_type\030\002 \001(\0162+.google.bigtable.admin" + - ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" + - "(\0132$.google.bigtable.admin.v2.BackupInfo" + - "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" + - "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" + - "min.v2.OperationProgressB\r\n\013source_info\"" + - "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" + - "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" + - "le.admin.v2.OperationProgress\"\201\002\n\022Create" + - "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" + - "gtableadmin.googleapis.com/Instance\022\025\n\010t" + - "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" + - "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" + - "al_splits\030\004 \003(\01322.google.bigtable.admin." + - "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" + - "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" + - "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + - "min.googleapis.com/Instance\022\025\n\010table_id\030" + - "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" + - "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" + - "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" + - "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" + - "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" + - "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" + - "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" + - "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" + - "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" + - "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" + - "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." + - "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" + - "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + - "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" + - "\0162$.google.bigtable.admin.v2.Table.View\"" + - "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" + - "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" + - "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" + - "e.protobuf.Timestamp\"N\n\022DeleteTableReque" + - "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." + - "googleapis.com/Table\"P\n\024UndeleteTableReq" + - "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" + - "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" + - "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + - "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\337\002\n" + - "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" + - "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + - "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" + - "igtable.admin.v2.ModifyColumnFamiliesReq" + - "uest.ModificationB\003\340A\002\032\245\001\n\014Modification\022" + - "\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.big" + - "table.admin.v2.ColumnFamilyH\000\0228\n\006update\030" + - "\003 \001(\0132&.google.bigtable.admin.v2.ColumnF" + - "amilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Genera" + - "teConsistencyTokenRequest\0228\n\004name\030\001 \001(\tB" + - "*\340A\002\372A$\n\"bigtableadmin.googleapis.com/Ta" + - "ble\"=\n GenerateConsistencyTokenResponse\022" + - "\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckConsi" + - "stencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"big" + - "tableadmin.googleapis.com/Table\022\036\n\021consi" + - "stency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsiste" + - "ncyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024Snap" + - "shotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" + - "bigtableadmin.googleapis.com/Table\022=\n\007cl" + - "uster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.googl" + - "eapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003" + - "\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Durat" + - "ion\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapshotR" + - "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + - "min.googleapis.com/Snapshot\"{\n\024ListSnaps" + - "hotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$big" + - "tableadmin.googleapis.com/Cluster\022\021\n\tpag" + - "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025List" + - "SnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\".g" + - "oogle.bigtable.admin.v2.Snapshot\022\027\n\017next" + - "_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotReque" + - "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + - "googleapis.com/Snapshot\"\304\001\n\025SnapshotTabl" + - "eMetadata\022H\n\020original_request\030\001 \001(\0132..go" + - "ogle.bigtable.admin.v2.SnapshotTableRequ" + - "est\0220\n\014request_time\030\002 \001(\0132\032.google.proto" + - "buf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\"\330\001\n\037CreateTableFr" + - "omSnapshotMetadata\022R\n\020original_request\030\001" + - " \001(\01328.google.bigtable.admin.v2.CreateTa" + - "bleFromSnapshotRequest\0220\n\014request_time\030\002" + - " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" + - "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "p\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001 \001(" + - "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" + - "Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backu" + - "p\030\003 \001(\0132 .google.bigtable.admin.v2.Backu" + - "pB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004name\030" + - "\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_tim" + - "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + - "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + - "p\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001 \001(" + - "\0132 .google.bigtable.admin.v2.BackupB\003\340A\002" + - "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n\004na" + - "me\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googleap" + - "is.com/Backup\"P\n\023DeleteBackupRequest\0229\n\004" + - "name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.google" + - "apis.com/Backup\"\233\001\n\022ListBackupsRequest\022<" + - "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.go" + - "ogleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010" + - "order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npag" + - "e_token\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007" + - "backups\030\001 \003(\0132 .google.bigtable.admin.v2" + - ".Backup\022\027\n\017next_page_token\030\002 \001(\t\"\343\001\n\021Cop" + - "yBackupRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$" + - "bigtableadmin.googleapis.com/Cluster\022\026\n\t" + - "backup_id\030\002 \001(\tB\003\340A\002\022B\n\rsource_backup\030\003 " + - "\001(\tB+\340A\002\372A%\n#bigtableadmin.googleapis.co" + - "m/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google.p" + - "rotobuf.TimestampB\003\340A\002\"\315\001\n\022CopyBackupMet" + - "adata\0226\n\004name\030\001 \001(\tB(\372A%\n#bigtableadmin." + - "googleapis.com/Backup\022@\n\022source_backup_i" + - "nfo\030\002 \001(\0132$.google.bigtable.admin.v2.Bac" + - "kupInfo\022=\n\010progress\030\003 \001(\0132+.google.bigta" + - "ble.admin.v2.OperationProgress2\242*\n\022Bigta" + - "bleTableAdmin\022\253\001\n\013CreateTable\022,.google.b" + - "igtable.admin.v2.CreateTableRequest\032\037.go" + - "ogle.bigtable.admin.v2.Table\"M\202\323\344\223\002/\"*/v" + - "2/{parent=projects/*/instances/*}/tables" + - ":\001*\332A\025parent,table_id,table\022\212\002\n\027CreateTa" + - "bleFromSnapshot\0228.google.bigtable.admin." + - "v2.CreateTableFromSnapshotRequest\032\035.goog" + - "le.longrunning.Operation\"\225\001\202\323\344\223\002B\"=/v2/{" + - "parent=projects/*/instances/*}/tables:cr" + - "eateFromSnapshot:\001*\332A\037parent,table_id,so" + - "urce_snapshot\312A(\n\005Table\022\037CreateTableFrom" + - "SnapshotMetadata\022\244\001\n\nListTables\022+.google" + - ".bigtable.admin.v2.ListTablesRequest\032,.g" + - "oogle.bigtable.admin.v2.ListTablesRespon" + - "se\";\202\323\344\223\002,\022*/v2/{parent=projects/*/insta" + - "nces/*}/tables\332A\006parent\022\221\001\n\010GetTable\022).g" + - "oogle.bigtable.admin.v2.GetTableRequest\032" + - "\037.google.bigtable.admin.v2.Table\"9\202\323\344\223\002," + - "\022*/v2/{name=projects/*/instances/*/table" + - "s/*}\332A\004name\022\316\001\n\013UpdateTable\022,.google.big" + - "table.admin.v2.UpdateTableRequest\032\035.goog" + - "le.longrunning.Operation\"r\202\323\344\223\002920/v2/{t" + - "able.name=projects/*/instances/*/tables/" + - "*}:\005table\332A\021table,update_mask\312A\034\n\005Table\022" + - "\023UpdateTableMetadata\022\216\001\n\013DeleteTable\022,.g" + - "oogle.bigtable.admin.v2.DeleteTableReque" + - "st\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v2/" + - "{name=projects/*/instances/*/tables/*}\332A" + - "\004name\022\306\001\n\rUndeleteTable\022..google.bigtabl" + - "e.admin.v2.UndeleteTableRequest\032\035.google" + - ".longrunning.Operation\"f\202\323\344\223\0028\"3/v2/{nam" + - "e=projects/*/instances/*/tables/*}:undel" + - "ete:\001*\332A\004name\312A\036\n\005Table\022\025UndeleteTableMe" + - "tadata\022\317\001\n\024ModifyColumnFamilies\0225.google" + - ".bigtable.admin.v2.ModifyColumnFamiliesR" + - "equest\032\037.google.bigtable.admin.v2.Table\"" + - "_\202\323\344\223\002D\"?/v2/{name=projects/*/instances/" + - "*/tables/*}:modifyColumnFamilies:\001*\332A\022na" + - "me,modifications\022\231\001\n\014DropRowRange\022-.goog" + - "le.bigtable.admin.v2.DropRowRangeRequest" + - "\032\026.google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{n" + - "ame=projects/*/instances/*/tables/*}:dro" + - "pRowRange:\001*\022\350\001\n\030GenerateConsistencyToke" + - "n\0229.google.bigtable.admin.v2.GenerateCon" + - "sistencyTokenRequest\032:.google.bigtable.a" + - "dmin.v2.GenerateConsistencyTokenResponse" + - "\"U\202\323\344\223\002H\"C/v2/{name=projects/*/instances" + - "/*/tables/*}:generateConsistencyToken:\001*" + - "\332A\004name\022\332\001\n\020CheckConsistency\0221.google.bi" + - "gtable.admin.v2.CheckConsistencyRequest\032" + - "2.google.bigtable.admin.v2.CheckConsiste" + - "ncyResponse\"_\202\323\344\223\002@\";/v2/{name=projects/" + - "*/instances/*/tables/*}:checkConsistency" + - ":\001*\332A\026name,consistency_token\022\352\001\n\rSnapsho" + - "tTable\022..google.bigtable.admin.v2.Snapsh" + - "otTableRequest\032\035.google.longrunning.Oper" + - "ation\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/ins" + - "tances/*/tables/*}:snapshot:\001*\332A$name,cl" + - "uster,snapshot_id,description\312A!\n\010Snapsh" + - "ot\022\025SnapshotTableMetadata\022\250\001\n\013GetSnapsho" + - "t\022,.google.bigtable.admin.v2.GetSnapshot" + - "Request\032\".google.bigtable.admin.v2.Snaps" + - "hot\"G\202\323\344\223\002:\0228/v2/{name=projects/*/instan" + - "ces/*/clusters/*/snapshots/*}\332A\004name\022\273\001\n" + - "\rListSnapshots\022..google.bigtable.admin.v" + - "2.ListSnapshotsRequest\032/.google.bigtable" + - ".admin.v2.ListSnapshotsResponse\"I\202\323\344\223\002:\022" + - "8/v2/{parent=projects/*/instances/*/clus" + - "ters/*}/snapshots\332A\006parent\022\242\001\n\016DeleteSna" + - "pshot\022/.google.bigtable.admin.v2.DeleteS" + - "napshotRequest\032\026.google.protobuf.Empty\"G" + - "\202\323\344\223\002:*8/v2/{name=projects/*/instances/*" + - "/clusters/*/snapshots/*}\332A\004name\022\340\001\n\014Crea" + - "teBackup\022-.google.bigtable.admin.v2.Crea" + - "teBackupRequest\032\035.google.longrunning.Ope" + - "ration\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/*/" + - "instances/*/clusters/*}/backups:\006backup\332" + - "A\027parent,backup_id,backup\312A\036\n\006Backup\022\024Cr" + - "eateBackupMetadata\022\240\001\n\tGetBackup\022*.googl" + - "e.bigtable.admin.v2.GetBackupRequest\032 .g" + - "oogle.bigtable.admin.v2.Backup\"E\202\323\344\223\0028\0226" + - "/v2/{name=projects/*/instances/*/cluster" + - "s/*/backups/*}\332A\004name\022\303\001\n\014UpdateBackup\022-" + - ".google.bigtable.admin.v2.UpdateBackupRe" + - "quest\032 .google.bigtable.admin.v2.Backup\"" + - "b\202\323\344\223\002G2=/v2/{backup.name=projects/*/ins" + - "tances/*/clusters/*/backups/*}:\006backup\332A" + - "\022backup,update_mask\022\234\001\n\014DeleteBackup\022-.g" + - "oogle.bigtable.admin.v2.DeleteBackupRequ" + - "est\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/v2" + - "/{name=projects/*/instances/*/clusters/*" + - "/backups/*}\332A\004name\022\263\001\n\013ListBackups\022,.goo" + - "gle.bigtable.admin.v2.ListBackupsRequest" + - "\032-.google.bigtable.admin.v2.ListBackupsR" + - "esponse\"G\202\323\344\223\0028\0226/v2/{parent=projects/*/" + - "instances/*/clusters/*}/backups\332A\006parent" + - "\022\273\001\n\014RestoreTable\022-.google.bigtable.admi" + - "n.v2.RestoreTableRequest\032\035.google.longru" + - "nning.Operation\"]\202\323\344\223\0027\"2/v2/{parent=pro" + - "jects/*/instances/*}/tables:restore:\001*\312A" + - "\035\n\005Table\022\024RestoreTableMetadata\022\355\001\n\nCopyB" + - "ackup\022+.google.bigtable.admin.v2.CopyBac" + - "kupRequest\032\035.google.longrunning.Operatio" + - "n\"\222\001\202\323\344\223\002@\";/v2/{parent=projects/*/insta" + - "nces/*/clusters/*}/backups:copy:\001*\332A*par" + - "ent,backup_id,source_backup,expire_time\312" + - "A\034\n\006Backup\022\022CopyBackupMetadata\022\354\001\n\014GetIa" + - "mPolicy\022\".google.iam.v1.GetIamPolicyRequ" + - "est\032\025.google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";/v" + - "2/{resource=projects/*/instances/*/table" + - "s/*}:getIamPolicy:\001*ZL\"G/v2/{resource=pr" + - "ojects/*/instances/*/clusters/*/backups/" + - "*}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetIam" + - "Policy\022\".google.iam.v1.SetIamPolicyReque" + - "st\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/v2" + - "/{resource=projects/*/instances/*/tables" + - "/*}:setIamPolicy:\001*ZL\"G/v2/{resource=pro" + - "jects/*/instances/*/clusters/*/backups/*" + - "}:setIamPolicy:\001*\332A\017resource,policy\022\244\002\n\022" + - "TestIamPermissions\022(.google.iam.v1.TestI" + - "amPermissionsRequest\032).google.iam.v1.Tes" + - "tIamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2/{" + - "resource=projects/*/instances/*/tables/*" + - "}:testIamPermissions:\001*ZR\"M/v2/{resource" + - "=projects/*/instances/*/clusters/*/backu" + - "ps/*}:testIamPermissions:\001*\332A\024resource,p" + - "ermissions\032\336\002\312A\034bigtableadmin.googleapis" + - ".com\322A\273\002https://www.googleapis.com/auth/" + - "bigtable.admin,https://www.googleapis.co" + - "m/auth/bigtable.admin.table,https://www." + - "googleapis.com/auth/cloud-bigtable.admin" + - ",https://www.googleapis.com/auth/cloud-b" + - "igtable.admin.table,https://www.googleap" + - "is.com/auth/cloud-platform,https://www.g" + - "oogleapis.com/auth/cloud-platform.read-o" + - "nlyB\337\001\n\034com.google.bigtable.admin.v2B\027Bi" + - "gtableTableAdminProtoP\001Z=google.golang.o" + - "rg/genproto/googleapis/bigtable/admin/v2" + - ";admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312" + - "\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Googl" + - "e::Cloud::Bigtable::Admin::V2b\006proto3" + "\n3google/bigtable/admin/v2/bigtable_tabl" + + "e_admin.proto\022\030google.bigtable.admin.v2\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032%goog" + + "le/bigtable/admin/v2/common.proto\032$googl" + + "e/bigtable/admin/v2/table.proto\032\036google/" + + "iam/v1/iam_policy.proto\032\032google/iam/v1/p" + + "olicy.proto\032#google/longrunning/operatio" + + "ns.proto\032\036google/protobuf/duration.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\032\037google/protobuf" + + "/timestamp.proto\"\261\001\n\023RestoreTableRequest" + + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" + + "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" + + "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" + + "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" + + "ource_type\030\002 \001(\0162+.google.bigtable.admin" + + ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" + + "(\0132$.google.bigtable.admin.v2.BackupInfo" + + "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" + + "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" + + "min.v2.OperationProgressB\r\n\013source_info\"" + + "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" + + "le.admin.v2.OperationProgress\"\201\002\n\022Create" + + "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" + + "gtableadmin.googleapis.com/Instance\022\025\n\010t" + + "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" + + "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" + + "al_splits\030\004 \003(\01322.google.bigtable.admin." + + "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" + + "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Instance\022\025\n\010table_id\030" + + "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" + + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" + + "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" + + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" + + "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" + + "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" + + "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" + + "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" + + "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" + + "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." + + "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" + + "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + + "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" + + "\0162$.google.bigtable.admin.v2.Table.View\"" + + "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" + + "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"N\n\022DeleteTableReque" + + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." + + "googleapis.com/Table\"P\n\024UndeleteTableReq" + + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" + + "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\337\002\n" + + "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" + + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + + "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest.ModificationB\003\340A\002\032\245\001\n\014Modification\022" + + "\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.big" + + "table.admin.v2.ColumnFamilyH\000\0228\n\006update\030" + + "\003 \001(\0132&.google.bigtable.admin.v2.ColumnF" + + "amilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Genera" + + "teConsistencyTokenRequest\0228\n\004name\030\001 \001(\tB" + + "*\340A\002\372A$\n\"bigtableadmin.googleapis.com/Ta" + + "ble\"=\n GenerateConsistencyTokenResponse\022" + + "\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckConsi" + + "stencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"big" + + "tableadmin.googleapis.com/Table\022\036\n\021consi" + + "stency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsiste" + + "ncyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024Snap" + + "shotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022=\n\007cl" + + "uster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.googl" + + "eapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003" + + "\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Durat" + + "ion\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapshotR" + + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Snapshot\"{\n\024ListSnaps" + + "hotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$big" + + "tableadmin.googleapis.com/Cluster\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025List" + + "SnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\".g" + + "oogle.bigtable.admin.v2.Snapshot\022\027\n\017next" + + "_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotReque" + + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Snapshot\"\304\001\n\025SnapshotTabl" + + "eMetadata\022H\n\020original_request\030\001 \001(\0132..go" + + "ogle.bigtable.admin.v2.SnapshotTableRequ" + + "est\0220\n\014request_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\"\330\001\n\037CreateTableFr" + + "omSnapshotMetadata\022R\n\020original_request\030\001" + + " \001(\01328.google.bigtable.admin.v2.CreateTa" + + "bleFromSnapshotRequest\0220\n\014request_time\030\002" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" + + "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001 \001(" + + "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" + + "Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backu" + + "p\030\003 \001(\0132 .google.bigtable.admin.v2.Backu" + + "pB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004name\030" + + "\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "p\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001 \001(" + + "\0132 .google.bigtable.admin.v2.BackupB\003\340A\002" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n\004na" + + "me\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googleap" + + "is.com/Backup\"P\n\023DeleteBackupRequest\0229\n\004" + + "name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.google" + + "apis.com/Backup\"\233\001\n\022ListBackupsRequest\022<" + + "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.go" + + "ogleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010" + + "order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npag" + + "e_token\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007" + + "backups\030\001 \003(\0132 .google.bigtable.admin.v2" + + ".Backup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Big" + + "tableTableAdmin\022\253\001\n\013CreateTable\022,.google" + + ".bigtable.admin.v2.CreateTableRequest\032\037." + + "google.bigtable.admin.v2.Table\"M\202\323\344\223\002/\"*" + + "/v2/{parent=projects/*/instances/*}/tabl" + + "es:\001*\332A\025parent,table_id,table\022\212\002\n\027Create" + + "TableFromSnapshot\0228.google.bigtable.admi" + + "n.v2.CreateTableFromSnapshotRequest\032\035.go" + + "ogle.longrunning.Operation\"\225\001\202\323\344\223\002B\"=/v2" + + "/{parent=projects/*/instances/*}/tables:" + + "createFromSnapshot:\001*\332A\037parent,table_id," + + "source_snapshot\312A(\n\005Table\022\037CreateTableFr" + + "omSnapshotMetadata\022\244\001\n\nListTables\022+.goog" + + "le.bigtable.admin.v2.ListTablesRequest\032," + + ".google.bigtable.admin.v2.ListTablesResp" + + "onse\";\202\323\344\223\002,\022*/v2/{parent=projects/*/ins" + + "tances/*}/tables\332A\006parent\022\221\001\n\010GetTable\022)" + + ".google.bigtable.admin.v2.GetTableReques" + + "t\032\037.google.bigtable.admin.v2.Table\"9\202\323\344\223" + + "\002,\022*/v2/{name=projects/*/instances/*/tab" + + "les/*}\332A\004name\022\316\001\n\013UpdateTable\022,.google.b" + + "igtable.admin.v2.UpdateTableRequest\032\035.go" + + "ogle.longrunning.Operation\"r\202\323\344\223\002920/v2/" + + "{table.name=projects/*/instances/*/table" + + "s/*}:\005table\332A\021table,update_mask\312A\034\n\005Tabl" + + "e\022\023UpdateTableMetadata\022\216\001\n\013DeleteTable\022," + + ".google.bigtable.admin.v2.DeleteTableReq" + + "uest\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v" + + "2/{name=projects/*/instances/*/tables/*}" + + "\332A\004name\022\306\001\n\rUndeleteTable\022..google.bigta" + + "ble.admin.v2.UndeleteTableRequest\032\035.goog" + + "le.longrunning.Operation\"f\202\323\344\223\0028\"3/v2/{n" + + "ame=projects/*/instances/*/tables/*}:und" + + "elete:\001*\332A\004name\312A\036\n\005Table\022\025UndeleteTable" + + "Metadata\022\317\001\n\024ModifyColumnFamilies\0225.goog" + + "le.bigtable.admin.v2.ModifyColumnFamilie" + + "sRequest\032\037.google.bigtable.admin.v2.Tabl" + + "e\"_\202\323\344\223\002D\"?/v2/{name=projects/*/instance" + + "s/*/tables/*}:modifyColumnFamilies:\001*\332A\022" + + "name,modifications\022\231\001\n\014DropRowRange\022-.go" + + "ogle.bigtable.admin.v2.DropRowRangeReque" + + "st\032\026.google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/" + + "{name=projects/*/instances/*/tables/*}:d" + + "ropRowRange:\001*\022\350\001\n\030GenerateConsistencyTo" + + "ken\0229.google.bigtable.admin.v2.GenerateC" + + "onsistencyTokenRequest\032:.google.bigtable" + + ".admin.v2.GenerateConsistencyTokenRespon" + + "se\"U\202\323\344\223\002H\"C/v2/{name=projects/*/instanc" + + "es/*/tables/*}:generateConsistencyToken:" + + "\001*\332A\004name\022\332\001\n\020CheckConsistency\0221.google." + + "bigtable.admin.v2.CheckConsistencyReques" + + "t\0322.google.bigtable.admin.v2.CheckConsis" + + "tencyResponse\"_\202\323\344\223\002@\";/v2/{name=project" + + "s/*/instances/*/tables/*}:checkConsisten" + + "cy:\001*\332A\026name,consistency_token\022\352\001\n\rSnaps" + + "hotTable\022..google.bigtable.admin.v2.Snap" + + "shotTableRequest\032\035.google.longrunning.Op" + + "eration\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/i" + + "nstances/*/tables/*}:snapshot:\001*\332A$name," + + "cluster,snapshot_id,description\312A!\n\010Snap" + + "shot\022\025SnapshotTableMetadata\022\250\001\n\013GetSnaps" + + "hot\022,.google.bigtable.admin.v2.GetSnapsh" + + "otRequest\032\".google.bigtable.admin.v2.Sna" + + "pshot\"G\202\323\344\223\002:\0228/v2/{name=projects/*/inst" + + "ances/*/clusters/*/snapshots/*}\332A\004name\022\273" + + "\001\n\rListSnapshots\022..google.bigtable.admin" + + ".v2.ListSnapshotsRequest\032/.google.bigtab" + + "le.admin.v2.ListSnapshotsResponse\"I\202\323\344\223\002" + + ":\0228/v2/{parent=projects/*/instances/*/cl" + + "usters/*}/snapshots\332A\006parent\022\242\001\n\016DeleteS" + + "napshot\022/.google.bigtable.admin.v2.Delet" + + "eSnapshotRequest\032\026.google.protobuf.Empty" + + "\"G\202\323\344\223\002:*8/v2/{name=projects/*/instances" + + "/*/clusters/*/snapshots/*}\332A\004name\022\340\001\n\014Cr" + + "eateBackup\022-.google.bigtable.admin.v2.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/" + + "*/instances/*/clusters/*}/backups:\006backu" + + "p\332A\027parent,backup_id,backup\312A\036\n\006Backup\022\024" + + "CreateBackupMetadata\022\240\001\n\tGetBackup\022*.goo" + + "gle.bigtable.admin.v2.GetBackupRequest\032 " + + ".google.bigtable.admin.v2.Backup\"E\202\323\344\223\0028" + + "\0226/v2/{name=projects/*/instances/*/clust" + + "ers/*/backups/*}\332A\004name\022\303\001\n\014UpdateBackup" + + "\022-.google.bigtable.admin.v2.UpdateBackup" + + "Request\032 .google.bigtable.admin.v2.Backu" + + "p\"b\202\323\344\223\002G2=/v2/{backup.name=projects/*/i" + + "nstances/*/clusters/*/backups/*}:\006backup" + + "\332A\022backup,update_mask\022\234\001\n\014DeleteBackup\022-" + + ".google.bigtable.admin.v2.DeleteBackupRe" + + "quest\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/" + + "v2/{name=projects/*/instances/*/clusters" + + "/*/backups/*}\332A\004name\022\263\001\n\013ListBackups\022,.g" + + "oogle.bigtable.admin.v2.ListBackupsReque" + + "st\032-.google.bigtable.admin.v2.ListBackup" + + "sResponse\"G\202\323\344\223\0028\0226/v2/{parent=projects/" + + "*/instances/*/clusters/*}/backups\332A\006pare" + + "nt\022\273\001\n\014RestoreTable\022-.google.bigtable.ad" + + "min.v2.RestoreTableRequest\032\035.google.long" + + "running.Operation\"]\202\323\344\223\0027\"2/v2/{parent=p" + + "rojects/*/instances/*}/tables:restore:\001*" + + "\312A\035\n\005Table\022\024RestoreTableMetadata\022\354\001\n\014Get" + + "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" + + "quest\032\025.google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";" + + "/v2/{resource=projects/*/instances/*/tab" + + "les/*}:getIamPolicy:\001*ZL\"G/v2/{resource=" + + "projects/*/instances/*/clusters/*/backup" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/" + + "v2/{resource=projects/*/instances/*/tabl" + + "es/*}:setIamPolicy:\001*ZL\"G/v2/{resource=p" + + "rojects/*/instances/*/clusters/*/backups" + + "/*}:setIamPolicy:\001*\332A\017resource,policy\022\244\002" + + "\n\022TestIamPermissions\022(.google.iam.v1.Tes" + + "tIamPermissionsRequest\032).google.iam.v1.T" + + "estIamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2" + + "/{resource=projects/*/instances/*/tables" + + "/*}:testIamPermissions:\001*ZR\"M/v2/{resour" + + "ce=projects/*/instances/*/clusters/*/bac" + + "kups/*}:testIamPermissions:\001*\332A\024resource" + + ",permissions\032\336\002\312A\034bigtableadmin.googleap" + + "is.com\322A\273\002https://www.googleapis.com/aut" + + "h/bigtable.admin,https://www.googleapis." + + "com/auth/bigtable.admin.table,https://ww" + + "w.googleapis.com/auth/cloud-bigtable.adm" + + "in,https://www.googleapis.com/auth/cloud" + + "-bigtable.admin.table,https://www.google" + + "apis.com/auth/cloud-platform,https://www" + + ".googleapis.com/auth/cloud-platform.read" + + "-onlyB\337\001\n\034com.google.bigtable.admin.v2B\027" + + "BigtableTableAdminProtoP\001Z=google.golang" + + ".org/genproto/googleapis/bigtable/admin/" + + "v2;admin\252\002\036Google.Cloud.Bigtable.Admin.V" + + "2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Goo" + + "gle::Cloud::Bigtable::Admin::V2b\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.CommonProto.getDescriptor(), - com.google.bigtable.admin.v2.TableProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.CommonProto.getDescriptor(), + com.google.bigtable.admin.v2.TableProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor, - new java.lang.String[] { "Parent", "TableId", "Backup", "Source", }); + internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor, + new java.lang.String[] { + "Parent", "TableId", "Backup", "Source", + }); internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor, - new java.lang.String[] { "Name", "SourceType", "BackupInfo", "OptimizeTableOperationName", "Progress", "SourceInfo", }); + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor, + new java.lang.String[] { + "Name", + "SourceType", + "BackupInfo", + "OptimizeTableOperationName", + "Progress", + "SourceInfo", + }); internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor, - new java.lang.String[] { "Name", "Progress", }); + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor, + new java.lang.String[] { + "Name", "Progress", + }); internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor, - new java.lang.String[] { "Parent", "TableId", "Table", "InitialSplits", }); + internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor, + new java.lang.String[] { + "Parent", "TableId", "Table", "InitialSplits", + }); internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor = - internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor, - new java.lang.String[] { "Key", }); + internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor, + new java.lang.String[] { + "Key", + }); internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor, - new java.lang.String[] { "Parent", "TableId", "SourceSnapshot", }); + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor, + new java.lang.String[] { + "Parent", "TableId", "SourceSnapshot", + }); internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor, - new java.lang.String[] { "Name", "RowKeyPrefix", "DeleteAllDataFromTable", "Target", }); + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor, + new java.lang.String[] { + "Name", "RowKeyPrefix", "DeleteAllDataFromTable", "Target", + }); internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor, - new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor, + new java.lang.String[] { + "Parent", "View", "PageSize", "PageToken", + }); internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor, - new java.lang.String[] { "Tables", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor, + new java.lang.String[] { + "Tables", "NextPageToken", + }); internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor, - new java.lang.String[] { "Name", "View", }); + internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor = getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor, - new java.lang.String[] { "Table", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor, + new java.lang.String[] { + "Table", "UpdateMask", + }); internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor = getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor, - new java.lang.String[] { "Name", "StartTime", "EndTime", }); + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor, + new java.lang.String[] { + "Name", "StartTime", "EndTime", + }); internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor = getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor = getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor = getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor, - new java.lang.String[] { "Name", "StartTime", "EndTime", }); + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor, + new java.lang.String[] { + "Name", "StartTime", "EndTime", + }); internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor = getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor, - new java.lang.String[] { "Name", "Modifications", }); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor, + new java.lang.String[] { + "Name", "Modifications", + }); internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor = - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor, - new java.lang.String[] { "Id", "Create", "Update", "Drop", "Mod", }); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor, + new java.lang.String[] { + "Id", "Create", "Update", "Drop", "Mod", + }); internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor = getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor = getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor, - new java.lang.String[] { "ConsistencyToken", }); + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor, + new java.lang.String[] { + "ConsistencyToken", + }); internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor = getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor, - new java.lang.String[] { "Name", "ConsistencyToken", }); + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor, + new java.lang.String[] { + "Name", "ConsistencyToken", + }); internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor = getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor, - new java.lang.String[] { "Consistent", }); + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor, + new java.lang.String[] { + "Consistent", + }); internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor = getDescriptor().getMessageTypes().get(19); - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor, - new java.lang.String[] { "Name", "Cluster", "SnapshotId", "Ttl", "Description", }); + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor, + new java.lang.String[] { + "Name", "Cluster", "SnapshotId", "Ttl", "Description", + }); internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor = getDescriptor().getMessageTypes().get(20); - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor = getDescriptor().getMessageTypes().get(21); - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor = getDescriptor().getMessageTypes().get(22); - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor, - new java.lang.String[] { "Snapshots", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor, + new java.lang.String[] { + "Snapshots", "NextPageToken", + }); internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor = getDescriptor().getMessageTypes().get(23); - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor = getDescriptor().getMessageTypes().get(24); - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor, - new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor, + new java.lang.String[] { + "OriginalRequest", "RequestTime", "FinishTime", + }); internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor = getDescriptor().getMessageTypes().get(25); - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor, - new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor, + new java.lang.String[] { + "OriginalRequest", "RequestTime", "FinishTime", + }); internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor = getDescriptor().getMessageTypes().get(26); - internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor, - new java.lang.String[] { "Parent", "BackupId", "Backup", }); + internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor, + new java.lang.String[] { + "Parent", "BackupId", "Backup", + }); internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor = getDescriptor().getMessageTypes().get(27); - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor, - new java.lang.String[] { "Name", "SourceTable", "StartTime", "EndTime", }); + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor, + new java.lang.String[] { + "Name", "SourceTable", "StartTime", "EndTime", + }); internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor = getDescriptor().getMessageTypes().get(28); - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor, - new java.lang.String[] { "Backup", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor, + new java.lang.String[] { + "Backup", "UpdateMask", + }); internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor = getDescriptor().getMessageTypes().get(29); - internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor = getDescriptor().getMessageTypes().get(30); - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor, - new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor = getDescriptor().getMessageTypes().get(31); - internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "OrderBy", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "OrderBy", "PageSize", "PageToken", + }); internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor = getDescriptor().getMessageTypes().get(32); - internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor, - new java.lang.String[] { "Backups", "NextPageToken", }); - internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor, - new java.lang.String[] { "Parent", "BackupId", "SourceBackup", "ExpireTime", }); - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor, - new java.lang.String[] { "Name", "SourceBackupInfo", "Progress", }); + internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor, + new java.lang.String[] { + "Backups", "NextPageToken", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -755,8 +759,8 @@ public static void registerAllExtensions( registry.add(com.google.api.ClientProto.oauthScopes); registry.add(com.google.api.ResourceProto.resourceReference); registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java deleted file mode 100644 index edb1505203..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java +++ /dev/null @@ -1,1233 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -package com.google.bigtable.admin.v2; - -/** - * - * - *
- * Metadata type for the google.longrunning.Operation returned by
- * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
- * 
- * - * Protobuf type {@code google.bigtable.admin.v2.CopyBackupMetadata} - */ -public final class CopyBackupMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CopyBackupMetadata) - CopyBackupMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use CopyBackupMetadata.newBuilder() to construct. - private CopyBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CopyBackupMetadata() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CopyBackupMetadata(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CopyBackupMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - com.google.bigtable.admin.v2.BackupInfo.Builder subBuilder = null; - if (sourceBackupInfo_ != null) { - subBuilder = sourceBackupInfo_.toBuilder(); - } - sourceBackupInfo_ = - input.readMessage( - com.google.bigtable.admin.v2.BackupInfo.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sourceBackupInfo_); - sourceBackupInfo_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - com.google.bigtable.admin.v2.OperationProgress.Builder subBuilder = null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); - } - progress_ = - input.readMessage( - com.google.bigtable.admin.v2.OperationProgress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CopyBackupMetadata.class, - com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * The name of the backup being created through the copy operation.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * The name of the backup being created through the copy operation.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SOURCE_BACKUP_INFO_FIELD_NUMBER = 2; - private com.google.bigtable.admin.v2.BackupInfo sourceBackupInfo_; - /** - * - * - *
-   * Information about the source backup that is being copied from.
-   * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * - * @return Whether the sourceBackupInfo field is set. - */ - @java.lang.Override - public boolean hasSourceBackupInfo() { - return sourceBackupInfo_ != null; - } - /** - * - * - *
-   * Information about the source backup that is being copied from.
-   * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * - * @return The sourceBackupInfo. - */ - @java.lang.Override - public com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo() { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; - } - /** - * - * - *
-   * Information about the source backup that is being copied from.
-   * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - @java.lang.Override - public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder() { - return getSourceBackupInfo(); - } - - public static final int PROGRESS_FIELD_NUMBER = 3; - private com.google.bigtable.admin.v2.OperationProgress progress_; - /** - * - * - *
-   * The progress of the
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-   * operation.
-   * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - * - * @return Whether the progress field is set. - */ - @java.lang.Override - public boolean hasProgress() { - return progress_ != null; - } - /** - * - * - *
-   * The progress of the
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-   * operation.
-   * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - * - * @return The progress. - */ - @java.lang.Override - public com.google.bigtable.admin.v2.OperationProgress getProgress() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; - } - /** - * - * - *
-   * The progress of the
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-   * operation.
-   * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - @java.lang.Override - public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() { - return getProgress(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (sourceBackupInfo_ != null) { - output.writeMessage(2, getSourceBackupInfo()); - } - if (progress_ != null) { - output.writeMessage(3, getProgress()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (sourceBackupInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceBackupInfo()); - } - if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.bigtable.admin.v2.CopyBackupMetadata)) { - return super.equals(obj); - } - com.google.bigtable.admin.v2.CopyBackupMetadata other = - (com.google.bigtable.admin.v2.CopyBackupMetadata) obj; - - if (!getName().equals(other.getName())) return false; - if (hasSourceBackupInfo() != other.hasSourceBackupInfo()) return false; - if (hasSourceBackupInfo()) { - if (!getSourceBackupInfo().equals(other.getSourceBackupInfo())) return false; - } - if (hasProgress() != other.hasProgress()) return false; - if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasSourceBackupInfo()) { - hash = (37 * hash) + SOURCE_BACKUP_INFO_FIELD_NUMBER; - hash = (53 * hash) + getSourceBackupInfo().hashCode(); - } - if (hasProgress()) { - hash = (37 * hash) + PROGRESS_FIELD_NUMBER; - hash = (53 * hash) + getProgress().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.bigtable.admin.v2.CopyBackupMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Metadata type for the google.longrunning.Operation returned by
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
-   * 
- * - * Protobuf type {@code google.bigtable.admin.v2.CopyBackupMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CopyBackupMetadata) - com.google.bigtable.admin.v2.CopyBackupMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CopyBackupMetadata.class, - com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class); - } - - // Construct using com.google.bigtable.admin.v2.CopyBackupMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - if (sourceBackupInfoBuilder_ == null) { - sourceBackupInfo_ = null; - } else { - sourceBackupInfo_ = null; - sourceBackupInfoBuilder_ = null; - } - if (progressBuilder_ == null) { - progress_ = null; - } else { - progress_ = null; - progressBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor; - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupMetadata getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.CopyBackupMetadata.getDefaultInstance(); - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupMetadata build() { - com.google.bigtable.admin.v2.CopyBackupMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupMetadata buildPartial() { - com.google.bigtable.admin.v2.CopyBackupMetadata result = - new com.google.bigtable.admin.v2.CopyBackupMetadata(this); - result.name_ = name_; - if (sourceBackupInfoBuilder_ == null) { - result.sourceBackupInfo_ = sourceBackupInfo_; - } else { - result.sourceBackupInfo_ = sourceBackupInfoBuilder_.build(); - } - if (progressBuilder_ == null) { - result.progress_ = progress_; - } else { - result.progress_ = progressBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.admin.v2.CopyBackupMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CopyBackupMetadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.bigtable.admin.v2.CopyBackupMetadata other) { - if (other == com.google.bigtable.admin.v2.CopyBackupMetadata.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (other.hasSourceBackupInfo()) { - mergeSourceBackupInfo(other.getSourceBackupInfo()); - } - if (other.hasProgress()) { - mergeProgress(other.getProgress()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.bigtable.admin.v2.CopyBackupMetadata parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.bigtable.admin.v2.CopyBackupMetadata) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * The name of the backup being created through the copy operation.
-     * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * The name of the backup being created through the copy operation.
-     * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * The name of the backup being created through the copy operation.
-     * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The name of the backup being created through the copy operation.
-     * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
-     * The name of the backup being created through the copy operation.
-     * Values are of the form
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.bigtable.admin.v2.BackupInfo sourceBackupInfo_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - sourceBackupInfoBuilder_; - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * - * @return Whether the sourceBackupInfo field is set. - */ - public boolean hasSourceBackupInfo() { - return sourceBackupInfoBuilder_ != null || sourceBackupInfo_ != null; - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * - * @return The sourceBackupInfo. - */ - public com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo() { - if (sourceBackupInfoBuilder_ == null) { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; - } else { - return sourceBackupInfoBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - public Builder setSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { - if (sourceBackupInfoBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - sourceBackupInfo_ = value; - onChanged(); - } else { - sourceBackupInfoBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - public Builder setSourceBackupInfo( - com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) { - if (sourceBackupInfoBuilder_ == null) { - sourceBackupInfo_ = builderForValue.build(); - onChanged(); - } else { - sourceBackupInfoBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - public Builder mergeSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { - if (sourceBackupInfoBuilder_ == null) { - if (sourceBackupInfo_ != null) { - sourceBackupInfo_ = - com.google.bigtable.admin.v2.BackupInfo.newBuilder(sourceBackupInfo_) - .mergeFrom(value) - .buildPartial(); - } else { - sourceBackupInfo_ = value; - } - onChanged(); - } else { - sourceBackupInfoBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - public Builder clearSourceBackupInfo() { - if (sourceBackupInfoBuilder_ == null) { - sourceBackupInfo_ = null; - onChanged(); - } else { - sourceBackupInfo_ = null; - sourceBackupInfoBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - public com.google.bigtable.admin.v2.BackupInfo.Builder getSourceBackupInfoBuilder() { - - onChanged(); - return getSourceBackupInfoFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder() { - if (sourceBackupInfoBuilder_ != null) { - return sourceBackupInfoBuilder_.getMessageOrBuilder(); - } else { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; - } - } - /** - * - * - *
-     * Information about the source backup that is being copied from.
-     * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - getSourceBackupInfoFieldBuilder() { - if (sourceBackupInfoBuilder_ == null) { - sourceBackupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder>( - getSourceBackupInfo(), getParentForChildren(), isClean()); - sourceBackupInfo_ = null; - } - return sourceBackupInfoBuilder_; - } - - private com.google.bigtable.admin.v2.OperationProgress progress_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> - progressBuilder_; - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - * - * @return Whether the progress field is set. - */ - public boolean hasProgress() { - return progressBuilder_ != null || progress_ != null; - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - * - * @return The progress. - */ - public com.google.bigtable.admin.v2.OperationProgress getProgress() { - if (progressBuilder_ == null) { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; - } else { - return progressBuilder_.getMessage(); - } - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) { - if (progressBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - progress_ = value; - onChanged(); - } else { - progressBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - public Builder setProgress( - com.google.bigtable.admin.v2.OperationProgress.Builder builderForValue) { - if (progressBuilder_ == null) { - progress_ = builderForValue.build(); - onChanged(); - } else { - progressBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) { - if (progressBuilder_ == null) { - if (progress_ != null) { - progress_ = - com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); - } else { - progress_ = value; - } - onChanged(); - } else { - progressBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - public Builder clearProgress() { - if (progressBuilder_ == null) { - progress_ = null; - onChanged(); - } else { - progress_ = null; - progressBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder() { - - onChanged(); - return getProgressFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() { - if (progressBuilder_ != null) { - return progressBuilder_.getMessageOrBuilder(); - } else { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; - } - } - /** - * - * - *
-     * The progress of the
-     * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-     * operation.
-     * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> - getProgressFieldBuilder() { - if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); - progress_ = null; - } - return progressBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CopyBackupMetadata) - } - - // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CopyBackupMetadata) - private static final com.google.bigtable.admin.v2.CopyBackupMetadata DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CopyBackupMetadata(); - } - - public static com.google.bigtable.admin.v2.CopyBackupMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CopyBackupMetadata(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java deleted file mode 100644 index bec94adb97..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -package com.google.bigtable.admin.v2; - -public interface CopyBackupMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CopyBackupMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the backup being created through the copy operation.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the backup being created through the copy operation.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * string name = 1 [(.google.api.resource_reference) = { ... } - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Information about the source backup that is being copied from.
-   * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * - * @return Whether the sourceBackupInfo field is set. - */ - boolean hasSourceBackupInfo(); - /** - * - * - *
-   * Information about the source backup that is being copied from.
-   * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * - * @return The sourceBackupInfo. - */ - com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo(); - /** - * - * - *
-   * Information about the source backup that is being copied from.
-   * 
- * - * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - */ - com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder(); - - /** - * - * - *
-   * The progress of the
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-   * operation.
-   * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - * - * @return Whether the progress field is set. - */ - boolean hasProgress(); - /** - * - * - *
-   * The progress of the
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-   * operation.
-   * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - * - * @return The progress. - */ - com.google.bigtable.admin.v2.OperationProgress getProgress(); - /** - * - * - *
-   * The progress of the
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
-   * operation.
-   * 
- * - * .google.bigtable.admin.v2.OperationProgress progress = 3; - */ - com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java deleted file mode 100644 index 41697a4e03..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java +++ /dev/null @@ -1,1447 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -package com.google.bigtable.admin.v2; - -/** - * - * - *
- * The request for
- * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
- * 
- * - * Protobuf type {@code google.bigtable.admin.v2.CopyBackupRequest} - */ -public final class CopyBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CopyBackupRequest) - CopyBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CopyBackupRequest.newBuilder() to construct. - private CopyBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CopyBackupRequest() { - parent_ = ""; - backupId_ = ""; - sourceBackup_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CopyBackupRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CopyBackupRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - backupId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - sourceBackup_ = s; - break; - } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CopyBackupRequest.class, - com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - private volatile java.lang.Object parent_; - /** - * - * - *
-   * Required. The name of the destination cluster that will contain the backup
-   * copy. The cluster must already exist. Values are of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - /** - * - * - *
-   * Required. The name of the destination cluster that will contain the backup
-   * copy. The cluster must already exist. Values are of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int BACKUP_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object backupId_; - /** - * - * - *
-   * Required. The id of the new backup. The `backup_id` along with `parent`
-   * are combined as `{parent}/backups/{backup_id}` to create the full backup
-   * name, of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-   * This string must be between 1 and 50 characters in length and match the
-   * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-   * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The backupId. - */ - @java.lang.Override - public java.lang.String getBackupId() { - java.lang.Object ref = backupId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - backupId_ = s; - return s; - } - } - /** - * - * - *
-   * Required. The id of the new backup. The `backup_id` along with `parent`
-   * are combined as `{parent}/backups/{backup_id}` to create the full backup
-   * name, of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-   * This string must be between 1 and 50 characters in length and match the
-   * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-   * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for backupId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { - java.lang.Object ref = backupId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - backupId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; - private volatile java.lang.Object sourceBackup_; - /** - * - * - *
-   * Required. The source backup to be copied from.
-   * The source backup needs to be in READY state for it to be copied.
-   * Copying a copied backup is not allowed.
-   * Once CopyBackup is in progress, the source backup cannot be deleted or
-   * cleaned up on expiration until CopyBackup is finished.
-   * Values are of the form:
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The sourceBackup. - */ - @java.lang.Override - public java.lang.String getSourceBackup() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceBackup_ = s; - return s; - } - } - /** - * - * - *
-   * Required. The source backup to be copied from.
-   * The source backup needs to be in READY state for it to be copied.
-   * Copying a copied backup is not allowed.
-   * Once CopyBackup is in progress, the source backup cannot be deleted or
-   * cleaned up on expiration until CopyBackup is finished.
-   * Values are of the form:
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for sourceBackup. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceBackup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXPIRE_TIME_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp expireTime_; - /** - * - * - *
-   * Required. Required. The expiration time of the copied backup with
-   * microsecond granularity that must be at least 6 hours and at most 30 days
-   * from the time the request is received. Once the `expire_time` has
-   * passed, Cloud Bigtable will delete the backup and free the resources used
-   * by the backup.
-   * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the expireTime field is set. - */ - @java.lang.Override - public boolean hasExpireTime() { - return expireTime_ != null; - } - /** - * - * - *
-   * Required. Required. The expiration time of the copied backup with
-   * microsecond granularity that must be at least 6 hours and at most 30 days
-   * from the time the request is received. Once the `expire_time` has
-   * passed, Cloud Bigtable will delete the backup and free the resources used
-   * by the backup.
-   * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The expireTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getExpireTime() { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; - } - /** - * - * - *
-   * Required. Required. The expiration time of the copied backup with
-   * microsecond granularity that must be at least 6 hours and at most 30 days
-   * from the time the request is received. Once the `expire_time` has
-   * passed, Cloud Bigtable will delete the backup and free the resources used
-   * by the backup.
-   * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { - return getExpireTime(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, backupId_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourceBackup_); - } - if (expireTime_ != null) { - output.writeMessage(4, getExpireTime()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, backupId_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceBackup_); - } - if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.bigtable.admin.v2.CopyBackupRequest)) { - return super.equals(obj); - } - com.google.bigtable.admin.v2.CopyBackupRequest other = - (com.google.bigtable.admin.v2.CopyBackupRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; - if (hasExpireTime() != other.hasExpireTime()) return false; - if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - hash = (37 * hash) + BACKUP_ID_FIELD_NUMBER; - hash = (53 * hash) + getBackupId().hashCode(); - hash = (37 * hash) + SOURCE_BACKUP_FIELD_NUMBER; - hash = (53 * hash) + getSourceBackup().hashCode(); - if (hasExpireTime()) { - hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getExpireTime().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.bigtable.admin.v2.CopyBackupRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * The request for
-   * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
-   * 
- * - * Protobuf type {@code google.bigtable.admin.v2.CopyBackupRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CopyBackupRequest) - com.google.bigtable.admin.v2.CopyBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CopyBackupRequest.class, - com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class); - } - - // Construct using com.google.bigtable.admin.v2.CopyBackupRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - backupId_ = ""; - - sourceBackup_ = ""; - - if (expireTimeBuilder_ == null) { - expireTime_ = null; - } else { - expireTime_ = null; - expireTimeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor; - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupRequest getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.CopyBackupRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupRequest build() { - com.google.bigtable.admin.v2.CopyBackupRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupRequest buildPartial() { - com.google.bigtable.admin.v2.CopyBackupRequest result = - new com.google.bigtable.admin.v2.CopyBackupRequest(this); - result.parent_ = parent_; - result.backupId_ = backupId_; - result.sourceBackup_ = sourceBackup_; - if (expireTimeBuilder_ == null) { - result.expireTime_ = expireTime_; - } else { - result.expireTime_ = expireTimeBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.admin.v2.CopyBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CopyBackupRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.bigtable.admin.v2.CopyBackupRequest other) { - if (other == com.google.bigtable.admin.v2.CopyBackupRequest.getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - onChanged(); - } - if (!other.getBackupId().isEmpty()) { - backupId_ = other.backupId_; - onChanged(); - } - if (!other.getSourceBackup().isEmpty()) { - sourceBackup_ = other.sourceBackup_; - onChanged(); - } - if (other.hasExpireTime()) { - mergeExpireTime(other.getExpireTime()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.bigtable.admin.v2.CopyBackupRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.bigtable.admin.v2.CopyBackupRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object parent_ = ""; - /** - * - * - *
-     * Required. The name of the destination cluster that will contain the backup
-     * copy. The cluster must already exist. Values are of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. The name of the destination cluster that will contain the backup
-     * copy. The cluster must already exist. Values are of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. The name of the destination cluster that will contain the backup
-     * copy. The cluster must already exist. Values are of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - parent_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The name of the destination cluster that will contain the backup
-     * copy. The cluster must already exist. Values are of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearParent() { - - parent_ = getDefaultInstance().getParent(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The name of the destination cluster that will contain the backup
-     * copy. The cluster must already exist. Values are of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - parent_ = value; - onChanged(); - return this; - } - - private java.lang.Object backupId_ = ""; - /** - * - * - *
-     * Required. The id of the new backup. The `backup_id` along with `parent`
-     * are combined as `{parent}/backups/{backup_id}` to create the full backup
-     * name, of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-     * This string must be between 1 and 50 characters in length and match the
-     * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-     * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The backupId. - */ - public java.lang.String getBackupId() { - java.lang.Object ref = backupId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - backupId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. The id of the new backup. The `backup_id` along with `parent`
-     * are combined as `{parent}/backups/{backup_id}` to create the full backup
-     * name, of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-     * This string must be between 1 and 50 characters in length and match the
-     * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-     * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for backupId. - */ - public com.google.protobuf.ByteString getBackupIdBytes() { - java.lang.Object ref = backupId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - backupId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. The id of the new backup. The `backup_id` along with `parent`
-     * are combined as `{parent}/backups/{backup_id}` to create the full backup
-     * name, of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-     * This string must be between 1 and 50 characters in length and match the
-     * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-     * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The backupId to set. - * @return This builder for chaining. - */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - backupId_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The id of the new backup. The `backup_id` along with `parent`
-     * are combined as `{parent}/backups/{backup_id}` to create the full backup
-     * name, of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-     * This string must be between 1 and 50 characters in length and match the
-     * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-     * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearBackupId() { - - backupId_ = getDefaultInstance().getBackupId(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The id of the new backup. The `backup_id` along with `parent`
-     * are combined as `{parent}/backups/{backup_id}` to create the full backup
-     * name, of the form:
-     * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-     * This string must be between 1 and 50 characters in length and match the
-     * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-     * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for backupId to set. - * @return This builder for chaining. - */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - backupId_ = value; - onChanged(); - return this; - } - - private java.lang.Object sourceBackup_ = ""; - /** - * - * - *
-     * Required. The source backup to be copied from.
-     * The source backup needs to be in READY state for it to be copied.
-     * Copying a copied backup is not allowed.
-     * Once CopyBackup is in progress, the source backup cannot be deleted or
-     * cleaned up on expiration until CopyBackup is finished.
-     * Values are of the form:
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The sourceBackup. - */ - public java.lang.String getSourceBackup() { - java.lang.Object ref = sourceBackup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sourceBackup_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. The source backup to be copied from.
-     * The source backup needs to be in READY state for it to be copied.
-     * Copying a copied backup is not allowed.
-     * Once CopyBackup is in progress, the source backup cannot be deleted or
-     * cleaned up on expiration until CopyBackup is finished.
-     * Values are of the form:
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for sourceBackup. - */ - public com.google.protobuf.ByteString getSourceBackupBytes() { - java.lang.Object ref = sourceBackup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - sourceBackup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. The source backup to be copied from.
-     * The source backup needs to be in READY state for it to be copied.
-     * Copying a copied backup is not allowed.
-     * Once CopyBackup is in progress, the source backup cannot be deleted or
-     * cleaned up on expiration until CopyBackup is finished.
-     * Values are of the form:
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The sourceBackup to set. - * @return This builder for chaining. - */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - sourceBackup_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The source backup to be copied from.
-     * The source backup needs to be in READY state for it to be copied.
-     * Copying a copied backup is not allowed.
-     * Once CopyBackup is in progress, the source backup cannot be deleted or
-     * cleaned up on expiration until CopyBackup is finished.
-     * Values are of the form:
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearSourceBackup() { - - sourceBackup_ = getDefaultInstance().getSourceBackup(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. The source backup to be copied from.
-     * The source backup needs to be in READY state for it to be copied.
-     * Copying a copied backup is not allowed.
-     * Once CopyBackup is in progress, the source backup cannot be deleted or
-     * cleaned up on expiration until CopyBackup is finished.
-     * Values are of the form:
-     * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-     * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for sourceBackup to set. - * @return This builder for chaining. - */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - sourceBackup_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp expireTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the expireTime field is set. - */ - public boolean hasExpireTime() { - return expireTimeBuilder_ != null || expireTime_ != null; - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The expireTime. - */ - public com.google.protobuf.Timestamp getExpireTime() { - if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; - } else { - return expireTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setExpireTime(com.google.protobuf.Timestamp value) { - if (expireTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - expireTime_ = value; - onChanged(); - } else { - expireTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (expireTimeBuilder_ == null) { - expireTime_ = builderForValue.build(); - onChanged(); - } else { - expireTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { - if (expireTimeBuilder_ == null) { - if (expireTime_ != null) { - expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); - } else { - expireTime_ = value; - } - onChanged(); - } else { - expireTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearExpireTime() { - if (expireTimeBuilder_ == null) { - expireTime_ = null; - onChanged(); - } else { - expireTime_ = null; - expireTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - - onChanged(); - return getExpireTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { - if (expireTimeBuilder_ != null) { - return expireTimeBuilder_.getMessageOrBuilder(); - } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; - } - } - /** - * - * - *
-     * Required. Required. The expiration time of the copied backup with
-     * microsecond granularity that must be at least 6 hours and at most 30 days
-     * from the time the request is received. Once the `expire_time` has
-     * passed, Cloud Bigtable will delete the backup and free the resources used
-     * by the backup.
-     * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getExpireTimeFieldBuilder() { - if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); - expireTime_ = null; - } - return expireTimeBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CopyBackupRequest) - } - - // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CopyBackupRequest) - private static final com.google.bigtable.admin.v2.CopyBackupRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CopyBackupRequest(); - } - - public static com.google.bigtable.admin.v2.CopyBackupRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CopyBackupRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.bigtable.admin.v2.CopyBackupRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java deleted file mode 100644 index 3c0ebf7254..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -package com.google.bigtable.admin.v2; - -public interface CopyBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CopyBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the destination cluster that will contain the backup
-   * copy. The cluster must already exist. Values are of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The name of the destination cluster that will contain the backup
-   * copy. The cluster must already exist. Values are of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The id of the new backup. The `backup_id` along with `parent`
-   * are combined as `{parent}/backups/{backup_id}` to create the full backup
-   * name, of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-   * This string must be between 1 and 50 characters in length and match the
-   * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-   * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The backupId. - */ - java.lang.String getBackupId(); - /** - * - * - *
-   * Required. The id of the new backup. The `backup_id` along with `parent`
-   * are combined as `{parent}/backups/{backup_id}` to create the full backup
-   * name, of the form:
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
-   * This string must be between 1 and 50 characters in length and match the
-   * regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
-   * 
- * - * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for backupId. - */ - com.google.protobuf.ByteString getBackupIdBytes(); - - /** - * - * - *
-   * Required. The source backup to be copied from.
-   * The source backup needs to be in READY state for it to be copied.
-   * Copying a copied backup is not allowed.
-   * Once CopyBackup is in progress, the source backup cannot be deleted or
-   * cleaned up on expiration until CopyBackup is finished.
-   * Values are of the form:
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The sourceBackup. - */ - java.lang.String getSourceBackup(); - /** - * - * - *
-   * Required. The source backup to be copied from.
-   * The source backup needs to be in READY state for it to be copied.
-   * Copying a copied backup is not allowed.
-   * Once CopyBackup is in progress, the source backup cannot be deleted or
-   * cleaned up on expiration until CopyBackup is finished.
-   * Values are of the form:
-   * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
-   * 
- * - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for sourceBackup. - */ - com.google.protobuf.ByteString getSourceBackupBytes(); - - /** - * - * - *
-   * Required. Required. The expiration time of the copied backup with
-   * microsecond granularity that must be at least 6 hours and at most 30 days
-   * from the time the request is received. Once the `expire_time` has
-   * passed, Cloud Bigtable will delete the backup and free the resources used
-   * by the backup.
-   * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the expireTime field is set. - */ - boolean hasExpireTime(); - /** - * - * - *
-   * Required. Required. The expiration time of the copied backup with
-   * microsecond granularity that must be at least 6 hours and at most 30 days
-   * from the time the request is received. Once the `expire_time` has
-   * passed, Cloud Bigtable will delete the backup and free the resources used
-   * by the backup.
-   * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The expireTime. - */ - com.google.protobuf.Timestamp getExpireTime(); - /** - * - * - *
-   * Required. Required. The expiration time of the copied backup with
-   * microsecond granularity that must be at least 6 hours and at most 30 days
-   * from the time the request is received. Once the `expire_time` has
-   * passed, Cloud Bigtable will delete the backup and free the resources used
-   * by the backup.
-   * 
- * - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto index 39d8c60e8f..1a0be99ee2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto @@ -72,8 +72,7 @@ service BigtableTableAdmin { // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or deprecation // policy. - rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) - returns (google.longrunning.Operation) { + rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot" body: "*" @@ -123,8 +122,7 @@ service BigtableTableAdmin { } // Restores a specified table which was accidentally deleted. - rpc UndeleteTable(UndeleteTableRequest) - returns (google.longrunning.Operation) { + rpc UndeleteTable(UndeleteTableRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:undelete" body: "*" @@ -162,8 +160,7 @@ service BigtableTableAdmin { // CheckConsistency to check whether mutations to the table that finished // before this call started have been replicated. The tokens will be available // for 90 days. - rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) - returns (GenerateConsistencyTokenResponse) { + rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) returns (GenerateConsistencyTokenResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken" body: "*" @@ -174,8 +171,7 @@ service BigtableTableAdmin { // Checks replication consistency based on a consistency token, that is, if // replication has caught up based on the conditions specified in the token // and the check request. - rpc CheckConsistency(CheckConsistencyRequest) - returns (CheckConsistencyResponse) { + rpc CheckConsistency(CheckConsistencyRequest) returns (CheckConsistencyResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:checkConsistency" body: "*" @@ -191,14 +187,12 @@ service BigtableTableAdmin { // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or deprecation // policy. - rpc SnapshotTable(SnapshotTableRequest) - returns (google.longrunning.Operation) { + rpc SnapshotTable(SnapshotTableRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:snapshot" body: "*" }; - option (google.api.method_signature) = - "name,cluster,snapshot_id,description"; + option (google.api.method_signature) = "name,cluster,snapshot_id,description"; option (google.longrunning.operation_info) = { response_type: "Snapshot" metadata_type: "SnapshotTableMetadata" @@ -253,8 +247,8 @@ service BigtableTableAdmin { // [metadata][google.longrunning.Operation.metadata] field type is // [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The // [response][google.longrunning.Operation.response] field type is - // [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the - // returned operation will stop the creation and delete the backup. + // [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the + // creation and delete the backup. rpc CreateBackup(CreateBackupRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*/clusters/*}/backups" @@ -320,26 +314,10 @@ service BigtableTableAdmin { }; } - // Copy a Cloud Bigtable backup to a new backup in the destination cluster - // located in the destination instance and project. - rpc CopyBackup(CopyBackupRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy" - body: "*" - }; - option (google.api.method_signature) = - "parent,backup_id,source_backup,expire_time"; - option (google.longrunning.operation_info) = { - response_type: "Backup" - metadata_type: "CopyBackupMetadata" - }; - } - - // Gets the access control policy for a Table resource. + // Gets the access control policy for a Table or Backup resource. // Returns an empty policy if the resource exists but does not have a policy // set. - 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: "/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy" body: "*" @@ -351,10 +329,9 @@ service BigtableTableAdmin { option (google.api.method_signature) = "resource"; } - // Sets the access control policy on a Table resource. + // Sets the access control policy on a Table or Backup resource. // Replaces any existing policy. - 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: "/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy" body: "*" @@ -366,9 +343,8 @@ service BigtableTableAdmin { option (google.api.method_signature) = "resource,policy"; } - // Returns permissions that the caller has on the specified table resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) - returns (google.iam.v1.TestIamPermissionsResponse) { + // Returns permissions that the caller has on the specified Table or Backup resource. + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions" body: "*" @@ -420,8 +396,7 @@ message RestoreTableMetadata { RestoreSourceType source_type = 2; // Information about the source used to restore the table, as specified by - // `source` in - // [RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest]. + // `source` in [RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest]. oneof source_info { BackupInfo backup_info = 3; } @@ -437,8 +412,7 @@ message RestoreTableMetadata { // not successful. string optimize_table_operation_name = 4; - // The progress of the - // [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] + // The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] // operation. OperationProgress progress = 5; } @@ -473,8 +447,8 @@ message CreateTableRequest { } ]; - // Required. The name by which the new table should be referred to within the - // parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + // Required. The name by which the new table should be referred to within the parent + // instance, e.g., `foobar` rather than `{parent}/tables/foobar`. // Maximum 50 characters. string table_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -517,13 +491,13 @@ message CreateTableFromSnapshotRequest { } ]; - // Required. The name by which the new table should be referred to within the - // parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + // Required. The name by which the new table should be referred to within the parent + // instance, e.g., `foobar` rather than `{parent}/tables/foobar`. string table_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The unique name of the snapshot from which to restore the table. - // The snapshot and the table must be in the same instance. Values are of the - // form + // Required. The unique name of the snapshot from which to restore the table. The + // snapshot and the table must be in the same instance. + // Values are of the form // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. string source_snapshot = 3 [ (google.api.field_behavior) = REQUIRED, @@ -560,8 +534,8 @@ message DropRowRangeRequest { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables] message ListTablesRequest { - // Required. The unique name of the instance for which tables should be - // listed. Values are of the form `projects/{project}/instances/{instance}`. + // Required. The unique name of the instance for which tables should be listed. + // Values are of the form `projects/{project}/instances/{instance}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -570,8 +544,7 @@ message ListTablesRequest { ]; // The view to be applied to the returned tables' fields. - // Only NAME_ONLY view (default), REPLICATION_VIEW and ENCRYPTION_VIEW are - // supported. + // Only NAME_ONLY view (default) and REPLICATION_VIEW are supported. Table.View view = 2; // Maximum number of results per page. @@ -728,19 +701,18 @@ message ModifyColumnFamiliesRequest { } ]; - // Required. Modifications to be atomically applied to the specified table's - // families. Entries are applied in order, meaning that earlier modifications - // can be masked by later ones (in the case of repeated updates to the same - // family, for example). - repeated Modification modifications = 2 - [(google.api.field_behavior) = REQUIRED]; + // Required. Modifications to be atomically applied to the specified table's families. + // Entries are applied in order, meaning that earlier modifications can be + // masked by later ones (in the case of repeated updates to the same family, + // for example). + repeated Modification modifications = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken] message GenerateConsistencyTokenRequest { - // Required. The unique name of the Table for which to create a consistency - // token. Values are of the form + // Required. The unique name of the Table for which to create a consistency token. + // Values are of the form // `projects/{project}/instances/{instance}/tables/{table}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -760,8 +732,8 @@ message GenerateConsistencyTokenResponse { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency] message CheckConsistencyRequest { - // Required. The unique name of the Table for which to check replication - // consistency. Values are of the form + // Required. The unique name of the Table for which to check replication consistency. + // Values are of the form // `projects/{project}/instances/{instance}/tables/{table}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -810,9 +782,9 @@ message SnapshotTableRequest { } ]; - // Required. The ID by which the new snapshot should be referred to within the - // parent cluster, e.g., `mysnapshot` of the form: - // `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than + // Required. The ID by which the new snapshot should be referred to within the parent + // cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` + // rather than // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. string snapshot_id = 3 [(google.api.field_behavior) = REQUIRED]; @@ -853,8 +825,8 @@ message GetSnapshotRequest { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message ListSnapshotsRequest { - // Required. The unique name of the cluster for which snapshots should be - // listed. Values are of the form + // Required. The unique name of the cluster for which snapshots should be listed. + // Values are of the form // `projects/{project}/instances/{instance}/clusters/{cluster}`. // Use `{cluster} = '-'` to list snapshots for all clusters in an instance, // e.g., `projects/{project}/instances/{instance}/clusters/-`. @@ -944,8 +916,7 @@ message CreateTableFromSnapshotMetadata { google.protobuf.Timestamp finish_time = 3; } -// The request for -// [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]. +// The request for [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]. message CreateBackupRequest { // Required. This must be one of the clusters in the instance in which this // table is located. The backup will be stored in this cluster. Values are @@ -985,8 +956,7 @@ message CreateBackupMetadata { google.protobuf.Timestamp end_time = 4; } -// The request for -// [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup]. +// The request for [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.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. @@ -999,12 +969,10 @@ 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.bigtable.admin.v2.BigtableTableAdmin.GetBackup]. +// The request for [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup]. message GetBackupRequest { // Required. Name of the backup. // Values are of the form @@ -1017,8 +985,7 @@ message GetBackupRequest { ]; } -// The request for -// [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup]. +// The request for [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup]. message DeleteBackupRequest { // Required. Name of the backup to delete. // Values are of the form @@ -1031,8 +998,7 @@ message DeleteBackupRequest { ]; } -// The request for -// [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. +// The request for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. message ListBackupsRequest { // Required. The cluster to list backups from. Values are of the // form `projects/{project}/instances/{instance}/clusters/{cluster}`. @@ -1080,9 +1046,8 @@ message ListBackupsRequest { string filter = 2; // An expression for specifying the sort order of the results of the request. - // The string value should specify one or more fields in - // [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at - // https://aip.dev/132#ordering. + // The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full + // syntax is described at https://aip.dev/132#ordering. // // Fields supported are: // * name @@ -1107,84 +1072,19 @@ message ListBackupsRequest { int32 page_size = 4; // If non-empty, `page_token` should contain a - // [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] - // from a previous - // [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the - // same `parent` and with the same `filter`. + // [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a + // previous [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the same `parent` and with the same + // `filter`. string page_token = 5; } -// The response for -// [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. +// The response for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. message ListBackupsResponse { // The list of matching backups. repeated Backup backups = 1; // `next_page_token` can be sent in a subsequent - // [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call - // to fetch more of the matching backups. + // [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more + // of the matching backups. string next_page_token = 2; } - -// The request for -// [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]. -message CopyBackupRequest { - // Required. The name of the destination cluster that will contain the backup - // copy. The cluster must already exist. Values are of the form: - // `projects/{project}/instances/{instance}/clusters/{cluster}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "bigtableadmin.googleapis.com/Cluster" - } - ]; - - // Required. The id of the new backup. The `backup_id` along with `parent` - // are combined as `{parent}/backups/{backup_id}` to create the full backup - // name, of the form: - // `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. - // This string must be between 1 and 50 characters in length and match the - // regex `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. - string backup_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The source backup to be copied from. - // The source backup needs to be in READY state for it to be copied. - // Copying a copied backup is not allowed. - // Once CopyBackup is in progress, the source backup cannot be deleted or - // cleaned up on expiration until CopyBackup is finished. - // Values are of the form: - // `projects//instances//clusters//backups/`. - string source_backup = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "bigtableadmin.googleapis.com/Backup" - } - ]; - - // Required. Required. The expiration time of the copied backup with - // microsecond granularity that must be at least 6 hours and at most 30 days - // from the time the request is received. Once the `expire_time` has - // passed, Cloud Bigtable will delete the backup and free the resources used - // by the backup. - google.protobuf.Timestamp expire_time = 4 - [(google.api.field_behavior) = REQUIRED]; -} - -// Metadata type for the google.longrunning.Operation returned by -// [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]. -message CopyBackupMetadata { - // The name of the backup being created through the copy operation. - // Values are of the form - // `projects//instances//clusters//backups/`. - string name = 1 [(google.api.resource_reference) = { - type: "bigtableadmin.googleapis.com/Backup" - }]; - - // Information about the source backup that is being copied from. - BackupInfo source_backup_info = 2; - - // The progress of the - // [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup] - // operation. - OperationProgress progress = 3; -} \ No newline at end of file diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto index 94c9b68ecf..5a59fd203d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto +++ b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto @@ -34,6 +34,7 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" }; + // Information about a table restore. message RestoreInfo { // The type of the restore source. @@ -277,31 +278,32 @@ message Snapshot { CREATING = 2; } - // The unique name of the snapshot. + // Output only. The unique name of the snapshot. // Values are of the form // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. string name = 1; // Output only. The source table at the time the snapshot was taken. - Table source_table = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + Table source_table = 2; - // Output only. The size of the data in the source table at the time the snapshot was - // taken. In some cases, this value may be computed asynchronously via a - // background process and a placeholder of 0 will be used in the meantime. - int64 data_size_bytes = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The size of the data in the source table at the time the + // snapshot was taken. In some cases, this value may be computed + // asynchronously via a background process and a placeholder of 0 will be used + // in the meantime. + int64 data_size_bytes = 3; // Output only. The time when the snapshot is created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4; - // The time when the snapshot will be deleted. The maximum amount of time a - // snapshot can stay active is 365 days. If 'ttl' is not specified, + // Output only. The time when the snapshot will be deleted. The maximum amount + // of time a snapshot can stay active is 365 days. If 'ttl' is not specified, // the default maximum of 365 days will be used. google.protobuf.Timestamp delete_time = 5; // Output only. The current state of the snapshot. - State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + State state = 6; - // Description of the snapshot. + // Output only. Description of the snapshot. string description = 7; } @@ -345,12 +347,6 @@ message Backup { (google.api.field_behavior) = REQUIRED ]; - // Output only. Name of the backup from which this backup was copied. If a backup is - // not created by copying a backup, this field will be empty. - // Values are of the form: - // projects//instances//backups/. - string source_backup = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. The expiration time of the backup, with microseconds // granularity that must be at least 6 hours and at most 30 days // from the time the request is received. Once the `expire_time` @@ -393,12 +389,6 @@ message BackupInfo { // Output only. Name of the table the backup was created from. string source_table = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the backup from which this backup was copied. If a backup is - // not created by copying a backup, this field will be empty. - // Values are of the form: - // projects//instances//backups/. - string source_backup = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Indicates the type of the restore source. @@ -408,4 +398,4 @@ enum RestoreSourceType { // A backup was used as the source of the restore. BACKUP = 1; -} \ No newline at end of file +}